@futdevpro/fsm-dynamo 1.11.27 → 1.11.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/main.yml +9 -1
- package/build/_collections/utils/async.util.js +2 -2
- package/build/_collections/utils/async.util.js.map +1 -1
- package/build/_enums/http/http-call-type.enum.d.ts +18 -1
- package/build/_enums/http/http-call-type.enum.d.ts.map +1 -1
- package/build/_enums/http/http-call-type.enum.js +19 -1
- package/build/_enums/http/http-call-type.enum.js.map +1 -1
- package/build/_enums/http/http-response-type.enum.d.ts +4 -1
- package/build/_enums/http/http-response-type.enum.d.ts.map +1 -1
- package/build/_enums/http/http-response-type.enum.js +3 -0
- package/build/_enums/http/http-response-type.enum.js.map +1 -1
- package/build/_modules/crypto/index.d.ts.map +1 -1
- package/build/_modules/crypto/index.js +6 -0
- package/build/_modules/crypto/index.js.map +1 -1
- package/build/_modules/open-ai/index.d.ts.map +1 -1
- package/build/_modules/open-ai/index.js +6 -0
- package/build/_modules/open-ai/index.js.map +1 -1
- package/futdevpro-fsm-dynamo-01.11.28.tgz +0 -0
- package/package.json +2 -2
- package/src/_collections/utils/async.util.ts +2 -2
- package/src/_enums/http/http-call-type.enum.ts +20 -1
- package/src/_enums/http/http-response-type.enum.ts +4 -1
- package/src/_modules/crypto/index.ts +10 -0
- package/src/_modules/open-ai/index.ts +11 -0
- package/futdevpro-fsm-dynamo-01.11.27.tgz +0 -0
|
@@ -346,7 +346,15 @@ jobs:
|
|
|
346
346
|
|
|
347
347
|
end:
|
|
348
348
|
name: Discord Results
|
|
349
|
-
needs: [
|
|
349
|
+
needs: [
|
|
350
|
+
notification0,
|
|
351
|
+
check_secrets,
|
|
352
|
+
check_dev_leftovers,
|
|
353
|
+
test,
|
|
354
|
+
check_version,
|
|
355
|
+
deploy,
|
|
356
|
+
build_report
|
|
357
|
+
]
|
|
350
358
|
runs-on: ubuntu-latest
|
|
351
359
|
#runs-on: plo-koon
|
|
352
360
|
timeout-minutes: 20
|
|
@@ -26,7 +26,7 @@ class DyFM_Async {
|
|
|
26
26
|
}
|
|
27
27
|
else if (Date.now() - startTime > timeout) {
|
|
28
28
|
clearInterval(intervalId);
|
|
29
|
-
reject('timeout');
|
|
29
|
+
reject(new Error('waitUntil timeout'));
|
|
30
30
|
}
|
|
31
31
|
}, interval);
|
|
32
32
|
});
|
|
@@ -52,7 +52,7 @@ class DyFM_Async {
|
|
|
52
52
|
}
|
|
53
53
|
else if (Date.now() - startTime > timeout) {
|
|
54
54
|
clearInterval(intervalId);
|
|
55
|
-
reject('timeout');
|
|
55
|
+
reject(new Error('waitUntilAsync timeout'));
|
|
56
56
|
}
|
|
57
57
|
}, interval);
|
|
58
58
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async.util.js","sourceRoot":"","sources":["../../../src/_collections/utils/async.util.ts"],"names":[],"mappings":";;;AAIA,MAAa,UAAU;IAErB;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,EAAU;QACrB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAO,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;IAChE,CAAC;IACD,MAAM,CAAU,KAAK,GAAsB,IAAI,CAAC,KAAK,CAAC;IACtD,MAAM,CAAU,IAAI,GAAsB,IAAI,CAAC,KAAK,CAAC;IAErD;;;OAGG;IACH,MAAM,CAAC,SAAS,CACd,KAAoB,EACpB,WAAmB,GAAG,EACtB,UAAkB,KAAK;QAEvB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAQ,EAAE;YAC3C,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;YAE7B,MAAM,UAAU,GAAG,WAAW,CAAC,GAAS,EAAE;gBACxC,IAAI,KAAK,EAAE,EAAE,CAAC;oBACZ,aAAa,CAAC,UAAU,CAAC,CAAC;oBAC1B,OAAO,EAAE,CAAC;gBACZ,CAAC;qBAAM,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,GAAG,OAAO,EAAE,CAAC;oBAC5C,aAAa,CAAC,UAAU,CAAC,CAAC;oBAC1B,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"async.util.js","sourceRoot":"","sources":["../../../src/_collections/utils/async.util.ts"],"names":[],"mappings":";;;AAIA,MAAa,UAAU;IAErB;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,EAAU;QACrB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAO,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;IAChE,CAAC;IACD,MAAM,CAAU,KAAK,GAAsB,IAAI,CAAC,KAAK,CAAC;IACtD,MAAM,CAAU,IAAI,GAAsB,IAAI,CAAC,KAAK,CAAC;IAErD;;;OAGG;IACH,MAAM,CAAC,SAAS,CACd,KAAoB,EACpB,WAAmB,GAAG,EACtB,UAAkB,KAAK;QAEvB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAQ,EAAE;YAC3C,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;YAE7B,MAAM,UAAU,GAAG,WAAW,CAAC,GAAS,EAAE;gBACxC,IAAI,KAAK,EAAE,EAAE,CAAC;oBACZ,aAAa,CAAC,UAAU,CAAC,CAAC;oBAC1B,OAAO,EAAE,CAAC;gBACZ,CAAC;qBAAM,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,GAAG,OAAO,EAAE,CAAC;oBAC5C,aAAa,CAAC,UAAU,CAAC,CAAC;oBAC1B,MAAM,CAAC,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACzC,CAAC;YACH,CAAC,EAAE,QAAQ,CAAC,CAAC;QACf,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,cAAc,CACnB,KAA6B,EAC7B,WAAmB,GAAG,EACtB,UAAkB,KAAK;QAEvB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAQ,EAAE;YAC3C,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;YAE7B,MAAM,UAAU,GAAG,WAAW,CAAC,KAAK,IAAmB,EAAE;gBACvD,IAAI,MAAM,KAAK,EAAE,EAAE,CAAC;oBAClB,aAAa,CAAC,UAAU,CAAC,CAAC;oBAC1B,OAAO,EAAE,CAAC;gBACZ,CAAC;qBAAM,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,GAAG,OAAO,EAAE,CAAC;oBAC5C,aAAa,CAAC,UAAU,CAAC,CAAC;oBAC1B,MAAM,CAAC,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC;gBAC9C,CAAC;YACH,CAAC,EAAE,QAAQ,CAAC,CAAC;QACf,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,SAAS,CACd,UAAyB,EACzB,KAA6B;QAE7B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAQ,EAAE;YACnC,MAAM,GAAG,GAAG,UAAU,CAAC,SAAS,CAC9B,CAAC,KAAS,EAAQ,EAAE;gBAClB,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;oBACjB,GAAG,CAAC,WAAW,EAAE,CAAC;oBAClB,OAAO,CAAC,KAAU,CAAC,CAAC;gBACtB,CAAC;YACH,CAAC,CACF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;;AArFH,gCAsFC"}
|
|
@@ -11,6 +11,23 @@ export declare enum DyFM_HttpCallType {
|
|
|
11
11
|
post = "post",
|
|
12
12
|
put = "put",
|
|
13
13
|
patch = "patch",
|
|
14
|
-
delete = "delete"
|
|
14
|
+
delete = "delete",
|
|
15
|
+
head = "head",
|
|
16
|
+
options = "options",
|
|
17
|
+
purge = "purge",
|
|
18
|
+
link = "link",
|
|
19
|
+
unlink = "unlink"
|
|
20
|
+
}
|
|
21
|
+
export declare enum DyFM_HttpEncodeType {
|
|
22
|
+
ascii = "ascii",
|
|
23
|
+
ansi = "ansi",
|
|
24
|
+
binary = "binary",
|
|
25
|
+
base64 = "base64",
|
|
26
|
+
base64url = "base64url",
|
|
27
|
+
hex = "hex",
|
|
28
|
+
latin1 = "latin1",
|
|
29
|
+
ucs2 = "ucs2",
|
|
30
|
+
utf8 = "utf8",
|
|
31
|
+
utf16le = "utf16le"
|
|
15
32
|
}
|
|
16
33
|
//# sourceMappingURL=http-call-type.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-call-type.enum.d.ts","sourceRoot":"","sources":["../../../src/_enums/http/http-call-type.enum.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AACH,oBAAY,iBAAiB;IAC3B,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;CAClB"}
|
|
1
|
+
{"version":3,"file":"http-call-type.enum.d.ts","sourceRoot":"","sources":["../../../src/_enums/http/http-call-type.enum.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AACH,oBAAY,iBAAiB;IAC3B,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;IAEjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,oBAAY,mBAAmB;IAC7B,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,OAAO,YAAY;CACpB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DyFM_HttpCallType = void 0;
|
|
3
|
+
exports.DyFM_HttpEncodeType = exports.DyFM_HttpCallType = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Basic HTTP request methods.
|
|
6
6
|
*
|
|
@@ -16,5 +16,23 @@ var DyFM_HttpCallType;
|
|
|
16
16
|
DyFM_HttpCallType["put"] = "put";
|
|
17
17
|
DyFM_HttpCallType["patch"] = "patch";
|
|
18
18
|
DyFM_HttpCallType["delete"] = "delete";
|
|
19
|
+
DyFM_HttpCallType["head"] = "head";
|
|
20
|
+
DyFM_HttpCallType["options"] = "options";
|
|
21
|
+
DyFM_HttpCallType["purge"] = "purge";
|
|
22
|
+
DyFM_HttpCallType["link"] = "link";
|
|
23
|
+
DyFM_HttpCallType["unlink"] = "unlink";
|
|
19
24
|
})(DyFM_HttpCallType || (exports.DyFM_HttpCallType = DyFM_HttpCallType = {}));
|
|
25
|
+
var DyFM_HttpEncodeType;
|
|
26
|
+
(function (DyFM_HttpEncodeType) {
|
|
27
|
+
DyFM_HttpEncodeType["ascii"] = "ascii";
|
|
28
|
+
DyFM_HttpEncodeType["ansi"] = "ansi";
|
|
29
|
+
DyFM_HttpEncodeType["binary"] = "binary";
|
|
30
|
+
DyFM_HttpEncodeType["base64"] = "base64";
|
|
31
|
+
DyFM_HttpEncodeType["base64url"] = "base64url";
|
|
32
|
+
DyFM_HttpEncodeType["hex"] = "hex";
|
|
33
|
+
DyFM_HttpEncodeType["latin1"] = "latin1";
|
|
34
|
+
DyFM_HttpEncodeType["ucs2"] = "ucs2";
|
|
35
|
+
DyFM_HttpEncodeType["utf8"] = "utf8";
|
|
36
|
+
DyFM_HttpEncodeType["utf16le"] = "utf16le";
|
|
37
|
+
})(DyFM_HttpEncodeType || (exports.DyFM_HttpEncodeType = DyFM_HttpEncodeType = {}));
|
|
20
38
|
//# sourceMappingURL=http-call-type.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-call-type.enum.js","sourceRoot":"","sources":["../../../src/_enums/http/http-call-type.enum.ts"],"names":[],"mappings":";;;AACA;;;;;;;GAOG;AACH,IAAY,
|
|
1
|
+
{"version":3,"file":"http-call-type.enum.js","sourceRoot":"","sources":["../../../src/_enums/http/http-call-type.enum.ts"],"names":[],"mappings":";;;AACA;;;;;;;GAOG;AACH,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,gCAAW,CAAA;IACX,kCAAa,CAAA;IACb,gCAAW,CAAA;IACX,oCAAe,CAAA;IACf,sCAAiB,CAAA;IAEjB,kCAAa,CAAA;IACb,wCAAmB,CAAA;IACnB,oCAAe,CAAA;IACf,kCAAa,CAAA;IACb,sCAAiB,CAAA;AACnB,CAAC,EAZW,iBAAiB,iCAAjB,iBAAiB,QAY5B;AAED,IAAY,mBAWX;AAXD,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,wCAAiB,CAAA;IACjB,8CAAuB,CAAA;IACvB,kCAAW,CAAA;IACX,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,oCAAa,CAAA;IACb,0CAAmB,CAAA;AACrB,CAAC,EAXW,mBAAmB,mCAAnB,mBAAmB,QAW9B"}
|
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
export declare enum DyFM_HttpResponseType {
|
|
10
10
|
arraybuffer = "arraybuffer",
|
|
11
11
|
blob = "blob",
|
|
12
|
+
document = "document",
|
|
12
13
|
json = "json",
|
|
13
|
-
text = "text"
|
|
14
|
+
text = "text",
|
|
15
|
+
stream = "stream",
|
|
16
|
+
formData = "formData"
|
|
14
17
|
}
|
|
15
18
|
//# sourceMappingURL=http-response-type.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-response-type.enum.d.ts","sourceRoot":"","sources":["../../../src/_enums/http/http-response-type.enum.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AACH,oBAAY,qBAAqB;IAC/B,WAAW,gBAAgB;IAC3B,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;
|
|
1
|
+
{"version":3,"file":"http-response-type.enum.d.ts","sourceRoot":"","sources":["../../../src/_enums/http/http-response-type.enum.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AACH,oBAAY,qBAAqB;IAC/B,WAAW,gBAAgB;IAC3B,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB"}
|
|
@@ -13,7 +13,10 @@ var DyFM_HttpResponseType;
|
|
|
13
13
|
(function (DyFM_HttpResponseType) {
|
|
14
14
|
DyFM_HttpResponseType["arraybuffer"] = "arraybuffer";
|
|
15
15
|
DyFM_HttpResponseType["blob"] = "blob";
|
|
16
|
+
DyFM_HttpResponseType["document"] = "document";
|
|
16
17
|
DyFM_HttpResponseType["json"] = "json";
|
|
17
18
|
DyFM_HttpResponseType["text"] = "text";
|
|
19
|
+
DyFM_HttpResponseType["stream"] = "stream";
|
|
20
|
+
DyFM_HttpResponseType["formData"] = "formData";
|
|
18
21
|
})(DyFM_HttpResponseType || (exports.DyFM_HttpResponseType = DyFM_HttpResponseType = {}));
|
|
19
22
|
//# sourceMappingURL=http-response-type.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-response-type.enum.js","sourceRoot":"","sources":["../../../src/_enums/http/http-response-type.enum.ts"],"names":[],"mappings":";;;AACA;;;;;;;GAOG;AACH,IAAY,
|
|
1
|
+
{"version":3,"file":"http-response-type.enum.js","sourceRoot":"","sources":["../../../src/_enums/http/http-response-type.enum.ts"],"names":[],"mappings":";;;AACA;;;;;;;GAOG;AACH,IAAY,qBAQX;AARD,WAAY,qBAAqB;IAC/B,oDAA2B,CAAA;IAC3B,sCAAa,CAAA;IACb,8CAAqB,CAAA;IACrB,sCAAa,CAAA;IACb,sCAAa,CAAA;IACb,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;AACvB,CAAC,EARW,qBAAqB,qCAArB,qBAAqB,QAQhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_modules/crypto/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_modules/crypto/index.ts"],"names":[],"mappings":"AAYA,cAAc,4BAA4B,CAAC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
try {
|
|
5
|
+
require.resolve('crypto-js');
|
|
6
|
+
}
|
|
7
|
+
catch {
|
|
8
|
+
console.log('❌ crypto-js package not found, please install it with: pnpm add crypto-js');
|
|
9
|
+
}
|
|
4
10
|
tslib_1.__exportStar(require("./_collections/crypto.util"), exports);
|
|
5
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_modules/crypto/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_modules/crypto/index.ts"],"names":[],"mappings":";;;AAGA,IAAI,CAAC;IACH,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;AAC/B,CAAC;AAAC,MAAM,CAAC;IACP,OAAO,CAAC,GAAG,CACT,2EAA2E,CAC5E,CAAC;AACJ,CAAC;AAGD,qEAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_modules/open-ai/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_modules/open-ai/index.ts"],"names":[],"mappings":"AAaA,cAAc,6BAA6B,CAAC;AAG5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
try {
|
|
5
|
+
require.resolve('open-ai');
|
|
6
|
+
}
|
|
7
|
+
catch {
|
|
8
|
+
console.log('❌ OpenAI package not found, please install it with: pnpm add open-ai');
|
|
9
|
+
}
|
|
4
10
|
// ENUMS
|
|
5
11
|
tslib_1.__exportStar(require("./_enums/open-ai-model.enum"), exports);
|
|
6
12
|
// MODELS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_modules/open-ai/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_modules/open-ai/index.ts"],"names":[],"mappings":";;;AAGA,IAAI,CAAC;IACH,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAC7B,CAAC;AAAC,MAAM,CAAC;IACP,OAAO,CAAC,GAAG,CACT,sEAAsE,CACvE,CAAC;AACJ,CAAC;AAGD,QAAQ;AACR,sEAA4C;AAE5C,SAAS;AACT,gFAAsD;AACtD,qFAA2D;AAC3D,+EAAqD"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@futdevpro/fsm-dynamo",
|
|
3
|
-
"version": "01.11.
|
|
3
|
+
"version": "01.11.28",
|
|
4
4
|
"description": "Full Stack Model Collection for Dynamic (NodeJS-Typescript) Framework called Dynamo, by Future Development Ltd.",
|
|
5
5
|
"DyBu_settings": {
|
|
6
6
|
"packageType": "full-stack-package",
|
|
7
7
|
"tgzFolderName": "dynamo-fsm"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
|
-
"prep": "npm i -g pnpm rimraf nodemon && pnpm i",
|
|
10
|
+
"prep": "npm i -g pnpm rimraf nodemon jasmine && pnpm i",
|
|
11
11
|
"start": "npm run prep && nodemon",
|
|
12
12
|
|
|
13
13
|
"deploy": "npm run build",
|
|
@@ -33,7 +33,7 @@ export class DyFM_Async {
|
|
|
33
33
|
resolve();
|
|
34
34
|
} else if (Date.now() - startTime > timeout) {
|
|
35
35
|
clearInterval(intervalId);
|
|
36
|
-
reject('timeout');
|
|
36
|
+
reject(new Error('waitUntil timeout'));
|
|
37
37
|
}
|
|
38
38
|
}, interval);
|
|
39
39
|
});
|
|
@@ -64,7 +64,7 @@ export class DyFM_Async {
|
|
|
64
64
|
resolve();
|
|
65
65
|
} else if (Date.now() - startTime > timeout) {
|
|
66
66
|
clearInterval(intervalId);
|
|
67
|
-
reject('timeout');
|
|
67
|
+
reject(new Error('waitUntilAsync timeout'));
|
|
68
68
|
}
|
|
69
69
|
}, interval);
|
|
70
70
|
});
|
|
@@ -12,5 +12,24 @@ export enum DyFM_HttpCallType {
|
|
|
12
12
|
post = 'post',
|
|
13
13
|
put = 'put',
|
|
14
14
|
patch = 'patch',
|
|
15
|
-
delete = 'delete'
|
|
15
|
+
delete = 'delete',
|
|
16
|
+
|
|
17
|
+
head = 'head',
|
|
18
|
+
options = 'options',
|
|
19
|
+
purge = 'purge',
|
|
20
|
+
link = 'link',
|
|
21
|
+
unlink = 'unlink',
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export enum DyFM_HttpEncodeType {
|
|
25
|
+
ascii = 'ascii',
|
|
26
|
+
ansi = 'ansi',
|
|
27
|
+
binary = 'binary',
|
|
28
|
+
base64 = 'base64',
|
|
29
|
+
base64url = 'base64url',
|
|
30
|
+
hex = 'hex',
|
|
31
|
+
latin1 = 'latin1',
|
|
32
|
+
ucs2 = 'ucs2',
|
|
33
|
+
utf8 = 'utf8',
|
|
34
|
+
utf16le = 'utf16le',
|
|
16
35
|
}
|
|
Binary file
|