File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 42
42
- added: support for `.mjs` extensions
43
43
- added: a simple support for DDOS protection `allow_reqlimit : Number` (max. concurent requests by IP just-in-time)
44
44
- added: unit-testing supports colors, added by @dacrhu
45
+ - added: `String.encryptUID()` as alias for `U.encryptUID()`
46
+ - added: `String.decryptUID()` as alias for `U.decryptUID()`
45
47
46
48
- updated: `WEBSOCKET()` supports `+`, `-` and `🔒` as authorization flags
47
49
- updated: `LOAD()` supports `service` type
Original file line number Diff line number Diff line change @@ -4017,6 +4017,14 @@ SP.format = function() {
4017
4017
} ) ;
4018
4018
} ;
4019
4019
4020
+ SP . encryptUID = function ( key ) {
4021
+ return exports . encryptUID ( this , key ) ;
4022
+ } ;
4023
+
4024
+ SP . decryptUID = function ( key ) {
4025
+ return exports . decryptUID ( this , key ) ;
4026
+ } ;
4027
+
4020
4028
SP . encode = function ( ) {
4021
4029
var output = '' ;
4022
4030
for ( var i = 0 , length = this . length ; i < length ; i ++ ) {
You can’t perform that action at this time.
0 commit comments