@private.me/xbind 3.0.1 → 3.0.2
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/README.md +55 -14
- package/dist-standalone/_deps/mldsa-wasm/dist/mldsa.js +1920 -1
- package/dist-standalone/_deps/shared/cjs/errors.js +729 -1
- package/dist-standalone/_deps/shared/cjs/index.js +463 -1
- package/dist-standalone/_deps/shared/cjs/types.js +315 -1
- package/dist-standalone/_deps/shared/errors.js +244 -1
- package/dist-standalone/_deps/shared/index.js +72 -1
- package/dist-standalone/_deps/shared/types.js +86 -1
- package/dist-standalone/_deps/ux-helpers/cjs/errors.js +1 -1
- package/dist-standalone/_deps/ux-helpers/cjs/index.js +1 -1
- package/dist-standalone/_deps/ux-helpers/cjs/pagination.js +1 -1
- package/dist-standalone/_deps/ux-helpers/cjs/progress.js +1 -1
- package/dist-standalone/_deps/ux-helpers/cjs/search.js +1 -1
- package/dist-standalone/_deps/ux-helpers/cjs/types.js +1 -1
- package/dist-standalone/_deps/ux-helpers/errors.js +1 -1
- package/dist-standalone/_deps/ux-helpers/index.js +1 -1
- package/dist-standalone/_deps/ux-helpers/pagination.js +1 -1
- package/dist-standalone/_deps/ux-helpers/progress.js +1 -1
- package/dist-standalone/_deps/ux-helpers/search.js +1 -1
- package/dist-standalone/_deps/xchange/auto-accept.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/auto-accept.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/errors.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/index.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/invite-client.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/lazy-init.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/trust-integration.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/xchange.js +1 -1
- package/dist-standalone/_deps/xchange/errors.js +1 -1
- package/dist-standalone/_deps/xchange/index.js +1 -1
- package/dist-standalone/_deps/xchange/invite-client.js +1 -1
- package/dist-standalone/_deps/xchange/lazy-init.js +1 -1
- package/dist-standalone/_deps/xchange/trust-integration.js +1 -1
- package/dist-standalone/_deps/xchange/xchange.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/discovery.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/errors.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/index.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/registry.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/schema.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/types.js +1 -1
- package/dist-standalone/_deps/xregistry/discovery.js +1 -1
- package/dist-standalone/_deps/xregistry/errors.js +1 -1
- package/dist-standalone/_deps/xregistry/index.js +1 -1
- package/dist-standalone/_deps/xregistry/registry.js +1 -1
- package/dist-standalone/_deps/xregistry/schema.js +1 -1
- package/dist-standalone/_deps/xregistry/types.js +1 -1
- package/dist-standalone/agent-call.js +659 -1
- package/dist-standalone/agent-sdk.js +328 -1
- package/dist-standalone/agent.js +1800 -1
- package/dist-standalone/approval.js +193 -1
- package/dist-standalone/async-iterators.js +382 -1
- package/dist-standalone/auth.js +219 -1
- package/dist-standalone/auto-accept.js +229 -1
- package/dist-standalone/backup-config.js +201 -1
- package/dist-standalone/backup.js +326 -1
- package/dist-standalone/batch-operations.js +388 -1
- package/dist-standalone/cancellation.js +477 -1
- package/dist-standalone/checkpoint.js +186 -1
- package/dist-standalone/circuit-breaker.js +468 -1
- package/dist-standalone/cjs/agent-call.js +701 -1
- package/dist-standalone/cjs/agent-sdk.js +332 -1
- package/dist-standalone/cjs/agent.js +1837 -1
- package/dist-standalone/cjs/approval.js +199 -1
- package/dist-standalone/cjs/async-iterators.js +392 -1
- package/dist-standalone/cjs/auth.js +225 -1
- package/dist-standalone/cjs/auto-accept.js +233 -1
- package/dist-standalone/cjs/backup-config.js +207 -1
- package/dist-standalone/cjs/backup.js +330 -1
- package/dist-standalone/cjs/batch-operations.js +397 -1
- package/dist-standalone/cjs/cancellation.js +490 -1
- package/dist-standalone/cjs/checkpoint.js +193 -1
- package/dist-standalone/cjs/circuit-breaker.js +476 -1
- package/dist-standalone/cjs/cli/init.js +492 -1
- package/dist-standalone/cjs/config-validation.js +522 -1
- package/dist-standalone/cjs/connect.js +312 -1
- package/dist-standalone/cjs/connection-pool.js +506 -1
- package/dist-standalone/cjs/correlation-id.js +339 -1
- package/dist-standalone/cjs/crypto-utils.js +176 -1
- package/dist-standalone/cjs/debug-mode.js +534 -1
- package/dist-standalone/cjs/did-document.js +101 -1
- package/dist-standalone/cjs/did-privateme.js +130 -1
- package/dist-standalone/cjs/did-web.js +201 -1
- package/dist-standalone/cjs/discovery.js +462 -1
- package/dist-standalone/cjs/dual-mode.js +251 -1
- package/dist-standalone/cjs/email-templates.js +313 -1
- package/dist-standalone/cjs/email-transport.js +239 -1
- package/dist-standalone/cjs/envelope.js +538 -1
- package/dist-standalone/cjs/errors.js +913 -1
- package/dist-standalone/cjs/event-emitter.js +461 -1
- package/dist-standalone/cjs/gateway-state.js +55 -1
- package/dist-standalone/cjs/gateway-transport.js +120 -1
- package/dist-standalone/cjs/graceful-degradation.js +403 -1
- package/dist-standalone/cjs/guardrails.js +223 -1
- package/dist-standalone/cjs/health-check.js +336 -1
- package/dist-standalone/cjs/http-compat.js +272 -1
- package/dist-standalone/cjs/http-status-map.js +571 -1
- package/dist-standalone/cjs/identity.js +645 -1
- package/dist-standalone/cjs/index.js +406 -1
- package/dist-standalone/cjs/invitation.js +421 -1
- package/dist-standalone/cjs/invite.js +328 -1
- package/dist-standalone/cjs/key-agreement.js +335 -1
- package/dist-standalone/cjs/lazy-init.js +300 -1
- package/dist-standalone/cjs/logger.js +291 -1
- package/dist-standalone/cjs/mdns-discovery.js +202 -1
- package/dist-standalone/cjs/nonce-store.js +80 -1
- package/dist-standalone/cjs/pairing-manager.js +223 -1
- package/dist-standalone/cjs/plugin-system.js +264 -1
- package/dist-standalone/cjs/plugins/logging.js +168 -1
- package/dist-standalone/cjs/plugins/metrics.js +181 -1
- package/dist-standalone/cjs/plugins/validation.js +302 -1
- package/dist-standalone/cjs/policy.js +320 -1
- package/dist-standalone/cjs/progress-callbacks.js +583 -1
- package/dist-standalone/cjs/redis-nonce-store.js +76 -1
- package/dist-standalone/cjs/registry-middleware.js +50 -1
- package/dist-standalone/cjs/retry-strategies.js +544 -1
- package/dist-standalone/cjs/retry-transport.js +102 -1
- package/dist-standalone/cjs/runtime/browser.js +533 -1
- package/dist-standalone/cjs/runtime/edge.js +526 -1
- package/dist-standalone/cjs/runtime/react-native.js +394 -1
- package/dist-standalone/cjs/security-policy.js +245 -1
- package/dist-standalone/cjs/serialization.js +1040 -1
- package/dist-standalone/cjs/split-channel.js +225 -1
- package/dist-standalone/cjs/subscription-proof.js +230 -1
- package/dist-standalone/cjs/succession.js +148 -1
- package/dist-standalone/cjs/timeouts.js +412 -1
- package/dist-standalone/cjs/trace-context.js +424 -1
- package/dist-standalone/cjs/trace-spans.js +495 -1
- package/dist-standalone/cjs/transport.js +63 -1
- package/dist-standalone/cjs/trust-registry.js +991 -1
- package/dist-standalone/cjs/types/error-response.js +56 -1
- package/dist-standalone/cjs/vault-auth.js +178 -1
- package/dist-standalone/cjs/vault-store-loader.js +194 -1
- package/dist-standalone/cjs/verify.js +25 -1
- package/dist-standalone/cjs/version-info.js +543 -1
- package/dist-standalone/cjs/xfetch.js +340 -1
- package/dist-standalone/cli/init.js +455 -1
- package/dist-standalone/cli/setup.js +514 -1
- package/dist-standalone/cli/types.js +27 -1
- package/dist-standalone/cli/xbind.js +148 -1
- package/dist-standalone/config-validation.js +513 -1
- package/dist-standalone/connect.js +274 -1
- package/dist-standalone/connection-pool.js +500 -1
- package/dist-standalone/correlation-id.js +326 -1
- package/dist-standalone/crypto-utils.js +157 -1
- package/dist-standalone/debug-mode.js +510 -1
- package/dist-standalone/did-document.js +96 -1
- package/dist-standalone/did-privateme.js +121 -1
- package/dist-standalone/did-web.js +196 -1
- package/dist-standalone/discovery.js +458 -1
- package/dist-standalone/dual-mode.js +247 -1
- package/dist-standalone/email-templates.js +309 -1
- package/dist-standalone/email-transport.js +232 -1
- package/dist-standalone/envelope.js +525 -1
- package/dist-standalone/errors.js +896 -1
- package/dist-standalone/event-emitter.js +456 -1
- package/dist-standalone/gateway-state.js +51 -1
- package/dist-standalone/gateway-transport.js +116 -1
- package/dist-standalone/graceful-degradation.js +396 -1
- package/dist-standalone/guardrails.js +216 -1
- package/dist-standalone/health-check.js +332 -1
- package/dist-standalone/http-compat.js +267 -1
- package/dist-standalone/http-status-map.js +561 -1
- package/dist-standalone/identity.js +619 -1
- package/dist-standalone/index.js +78 -1
- package/dist-standalone/invitation.js +415 -1
- package/dist-standalone/invite.js +324 -1
- package/dist-standalone/key-agreement.js +325 -1
- package/dist-standalone/lazy-init.js +295 -1
- package/dist-standalone/logger.js +285 -1
- package/dist-standalone/mdns-discovery.js +195 -1
- package/dist-standalone/nonce-store.js +76 -1
- package/dist-standalone/pairing-manager.js +219 -1
- package/dist-standalone/plugin-system.js +257 -1
- package/dist-standalone/plugins/logging.js +163 -1
- package/dist-standalone/plugins/metrics.js +176 -1
- package/dist-standalone/plugins/validation.js +297 -1
- package/dist-standalone/policy.js +315 -1
- package/dist-standalone/progress-callbacks.js +576 -1
- package/dist-standalone/redis-nonce-store.js +72 -1
- package/dist-standalone/registry-middleware.js +47 -1
- package/dist-standalone/retry-strategies.js +534 -1
- package/dist-standalone/retry-transport.js +98 -1
- package/dist-standalone/runtime/browser.js +516 -1
- package/dist-standalone/runtime/edge.js +511 -1
- package/dist-standalone/runtime/react-native.js +383 -1
- package/dist-standalone/security-policy.js +239 -1
- package/dist-standalone/serialization.js +1031 -1
- package/dist-standalone/split-channel.js +219 -1
- package/dist-standalone/subscription-proof.js +224 -1
- package/dist-standalone/succession.js +142 -1
- package/dist-standalone/timeouts.js +398 -1
- package/dist-standalone/trace-context.js +414 -1
- package/dist-standalone/trace-spans.js +488 -1
- package/dist-standalone/transport.js +59 -1
- package/dist-standalone/trust-registry.js +950 -1
- package/dist-standalone/types/error-response.js +52 -1
- package/dist-standalone/vault-auth.js +174 -1
- package/dist-standalone/vault-store-loader.js +187 -1
- package/dist-standalone/verify.js +16 -1
- package/dist-standalone/version-info.js +530 -1
- package/dist-standalone/xfetch.js +335 -1
- package/package.json +4 -13
- package/share1.dat +0 -0
- package/dist-standalone/_deps/mldsa-wasm/LICENSE +0 -24
- package/dist-standalone/_deps/mldsa-wasm/package.json +0 -46
- package/dist-standalone/_deps/shared/cjs/package.json +0 -1
- package/dist-standalone/_deps/ux-helpers/cjs/package.json +0 -1
- package/dist-standalone/_deps/xchange/cjs/package.json +0 -1
- package/dist-standalone/_deps/xregistry/cjs/package.json +0 -1
- package/dist-standalone/cjs/package.json +0 -3
- package/dist-standalone/package.json +0 -10
|
@@ -1 +1,315 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
(function (_0x52ee4e, _0x41c5d4) {
|
|
3
|
+
var a4_0xebbca3 = {
|
|
4
|
+
_0xc226d4: 0xcf,
|
|
5
|
+
_0x1957a9: 0xe8
|
|
6
|
+
}, _0xb351a5 = a4_0x43da, _0x316962 = _0x52ee4e();
|
|
7
|
+
while (!![]) {
|
|
8
|
+
try {
|
|
9
|
+
var _0x2897f0 = -parseInt(_0xb351a5(0xbc)) / 0x1 + parseInt(_0xb351a5(0xc6)) / 0x2 * (-parseInt(_0xb351a5(0xee)) / 0x3) + parseInt(_0xb351a5(0xf6)) / 0x4 * (parseInt(_0xb351a5(0xeb)) / 0x5) + parseInt(_0xb351a5(0xd6)) / 0x6 * (-parseInt(_0xb351a5(0xba)) / 0x7) + parseInt(_0xb351a5(0xf1)) / 0x8 * (-parseInt(_0xb351a5(a4_0xebbca3._0xc226d4)) / 0x9) + parseInt(_0xb351a5(0xf4)) / 0xa * (-parseInt(_0xb351a5(a4_0xebbca3._0x1957a9)) / 0xb) + parseInt(_0xb351a5(0xe4)) / 0xc;
|
|
10
|
+
if (_0x2897f0 === _0x41c5d4)
|
|
11
|
+
break;
|
|
12
|
+
else
|
|
13
|
+
_0x316962['push'](_0x316962['shift']());
|
|
14
|
+
} catch (_0x46e19a) {
|
|
15
|
+
_0x316962['push'](_0x316962['shift']());
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}(a4_0xf026, 0xa6d68));
|
|
19
|
+
function a4_0x43da(_0x1ffee4, _0x3035e1) {
|
|
20
|
+
_0x1ffee4 = _0x1ffee4 - 0xb9;
|
|
21
|
+
var _0xf02693 = a4_0xf026();
|
|
22
|
+
var _0x43da31 = _0xf02693[_0x1ffee4];
|
|
23
|
+
if (a4_0x43da['HkdlOO'] === undefined) {
|
|
24
|
+
var _0x398425 = function (_0x494527) {
|
|
25
|
+
var _0x13b9d2 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
26
|
+
var _0x494736 = '', _0x28c5d5 = '';
|
|
27
|
+
for (var _0x361160 = 0x0, _0x19ee41, _0xef0318, _0x101493 = 0x0; _0xef0318 = _0x494527['charAt'](_0x101493++); ~_0xef0318 && (_0x19ee41 = _0x361160 % 0x4 ? _0x19ee41 * 0x40 + _0xef0318 : _0xef0318, _0x361160++ % 0x4) ? _0x494736 += String['fromCharCode'](0xff & _0x19ee41 >> (-0x2 * _0x361160 & 0x6)) : 0x0) {
|
|
28
|
+
_0xef0318 = _0x13b9d2['indexOf'](_0xef0318);
|
|
29
|
+
}
|
|
30
|
+
for (var _0xf64a4f = 0x0, _0x2d4369 = _0x494736['length']; _0xf64a4f < _0x2d4369; _0xf64a4f++) {
|
|
31
|
+
_0x28c5d5 += '%' + ('00' + _0x494736['charCodeAt'](_0xf64a4f)['toString'](0x10))['slice'](-0x2);
|
|
32
|
+
}
|
|
33
|
+
return decodeURIComponent(_0x28c5d5);
|
|
34
|
+
};
|
|
35
|
+
a4_0x43da['jUvFqI'] = _0x398425, a4_0x43da['HHJOHf'] = {}, a4_0x43da['HkdlOO'] = !![];
|
|
36
|
+
}
|
|
37
|
+
var _0x403cf4 = _0xf02693[0x0], _0x113565 = _0x1ffee4 + _0x403cf4, _0x153541 = a4_0x43da['HHJOHf'][_0x113565];
|
|
38
|
+
return !_0x153541 ? (_0x43da31 = a4_0x43da['jUvFqI'](_0x43da31), a4_0x43da['HHJOHf'][_0x113565] = _0x43da31) : _0x43da31 = _0x153541, _0x43da31;
|
|
39
|
+
}
|
|
40
|
+
var a5_0x327586 = a5_0xba88;
|
|
41
|
+
(function (_0x30976a, _0x3e6155) {
|
|
42
|
+
var a4_0x131ce0 = {
|
|
43
|
+
_0x47c094: 0xec,
|
|
44
|
+
_0x331001: 0xde,
|
|
45
|
+
_0x39755a: 0xd5,
|
|
46
|
+
_0x316009: 0xc8,
|
|
47
|
+
_0x1dc73a: 0xda,
|
|
48
|
+
_0x669a6d: 0xd8,
|
|
49
|
+
_0x2e7508: 0xcd
|
|
50
|
+
}, _0x39e5c1 = a4_0x43da, _0x5c5b8b = {
|
|
51
|
+
'lgBFc': function (_0x42a9bb) {
|
|
52
|
+
return _0x42a9bb();
|
|
53
|
+
},
|
|
54
|
+
'MOgRx': function (_0x3fa519, _0x394bdc) {
|
|
55
|
+
return _0x3fa519 + _0x394bdc;
|
|
56
|
+
},
|
|
57
|
+
'hQylT': function (_0x10127f, _0x20de93) {
|
|
58
|
+
return _0x10127f / _0x20de93;
|
|
59
|
+
},
|
|
60
|
+
'nRKcw': function (_0x5263c9, _0x1d4115) {
|
|
61
|
+
return _0x5263c9(_0x1d4115);
|
|
62
|
+
},
|
|
63
|
+
'zZWfC': function (_0x32e319, _0x2689fa) {
|
|
64
|
+
return _0x32e319(_0x2689fa);
|
|
65
|
+
},
|
|
66
|
+
'tgPqs': function (_0x3a01a6, _0x5d6ffe) {
|
|
67
|
+
return _0x3a01a6(_0x5d6ffe);
|
|
68
|
+
},
|
|
69
|
+
'OPygb': function (_0x5a1b15, _0x4b71be) {
|
|
70
|
+
return _0x5a1b15(_0x4b71be);
|
|
71
|
+
},
|
|
72
|
+
'GqHMA': function (_0x29f9ab, _0x1c2eb2) {
|
|
73
|
+
return _0x29f9ab(_0x1c2eb2);
|
|
74
|
+
},
|
|
75
|
+
'YNxcX': function (_0x1a46f7, _0x24bf04) {
|
|
76
|
+
return _0x1a46f7(_0x24bf04);
|
|
77
|
+
},
|
|
78
|
+
'bjkUJ': function (_0x546e19, _0x133aae) {
|
|
79
|
+
return _0x546e19 === _0x133aae;
|
|
80
|
+
},
|
|
81
|
+
'GFkVb': 'push',
|
|
82
|
+
'cajrD': _0x39e5c1(0xc0)
|
|
83
|
+
}, _0x40b336 = {
|
|
84
|
+
'_0x45d3b0': 0xbc,
|
|
85
|
+
'_0x3574af': 0xbb,
|
|
86
|
+
'_0x1c9f51': 0xbf,
|
|
87
|
+
'_0x5ca53e': 0xbe
|
|
88
|
+
}, _0x28b82f = a5_0xba88, _0x4e4ade = _0x5c5b8b[_0x39e5c1(0xd9)](_0x30976a);
|
|
89
|
+
while (!![]) {
|
|
90
|
+
try {
|
|
91
|
+
var _0x54a34d = _0x5c5b8b['MOgRx'](_0x5c5b8b[_0x39e5c1(0xf3)](_0x5c5b8b['MOgRx'](_0x5c5b8b[_0x39e5c1(0xc5)](-parseInt(_0x5c5b8b[_0x39e5c1(0xec)](_0x28b82f, 0xb7)), 0x1) * (-parseInt(_0x28b82f(0xb6)) / 0x2) + parseInt(_0x5c5b8b[_0x39e5c1(0xde)](_0x28b82f, _0x40b336[_0x39e5c1(0xc4)])) / 0x3, _0x5c5b8b[_0x39e5c1(a4_0x131ce0._0x47c094)](parseInt, _0x28b82f(0xb8)) / 0x4) + parseInt(_0x5c5b8b[_0x39e5c1(a4_0x131ce0._0x331001)](_0x28b82f, _0x40b336[_0x39e5c1(a4_0x131ce0._0x39755a)])) / 0x5 * (-_0x5c5b8b[_0x39e5c1(a4_0x131ce0._0x316009)](parseInt, _0x28b82f(0xb3)) / 0x6), -_0x5c5b8b[_0x39e5c1(a4_0x131ce0._0x1dc73a)](parseInt, _0x5c5b8b['tgPqs'](_0x28b82f, _0x40b336[_0x39e5c1(0xbd)])) / 0x7), _0x5c5b8b[_0x39e5c1(0xec)](parseInt, _0x28b82f(0xb2)) / 0x8) + _0x5c5b8b['hQylT'](-parseInt(_0x5c5b8b[_0x39e5c1(0xe0)](_0x28b82f, _0x40b336[_0x39e5c1(0xca)])), 0x9) * (_0x5c5b8b['YNxcX'](parseInt, _0x28b82f(0xb5)) / 0xa);
|
|
92
|
+
if (_0x5c5b8b[_0x39e5c1(0xe6)](_0x54a34d, _0x3e6155))
|
|
93
|
+
break;
|
|
94
|
+
else
|
|
95
|
+
_0x4e4ade[_0x5c5b8b['GFkVb']](_0x4e4ade[_0x5c5b8b[_0x39e5c1(0xcd)]]());
|
|
96
|
+
} catch (_0x2c4bef) {
|
|
97
|
+
_0x4e4ade[_0x39e5c1(a4_0x131ce0._0x669a6d)](_0x4e4ade[_0x5c5b8b[_0x39e5c1(a4_0x131ce0._0x2e7508)]]());
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}(a5_0x1e74, 0x59db1));
|
|
101
|
+
function a5_0x1e74() {
|
|
102
|
+
var a4_0x5d4646 = {
|
|
103
|
+
_0x4c4a2a: 0xf2,
|
|
104
|
+
_0x4e45df: 0xbb,
|
|
105
|
+
_0x2aea47: 0xc3,
|
|
106
|
+
_0x3cbaeb: 0xe7,
|
|
107
|
+
_0x441304: 0xc1,
|
|
108
|
+
_0x45c09f: 0xcb,
|
|
109
|
+
_0x30fa8e: 0xd7,
|
|
110
|
+
_0x1fea37: 0xe3
|
|
111
|
+
}, _0x251893 = a4_0x43da, _0x1c064d = {
|
|
112
|
+
'TWUUd': _0x251893(a4_0x5d4646._0x4c4a2a),
|
|
113
|
+
'dVifP': _0x251893(0xf5),
|
|
114
|
+
'oBoGz': 'mZzSu25Iswu',
|
|
115
|
+
'TPbBc': 'mtaZmduWtLP2DgPz',
|
|
116
|
+
'autHV': 'mJmWnteXmhbYthjnEa',
|
|
117
|
+
'UQjSL': _0x251893(0xe9),
|
|
118
|
+
'ezNZk': 'zxjY'
|
|
119
|
+
}, _0x358f2a = [
|
|
120
|
+
_0x1c064d[_0x251893(0xf7)],
|
|
121
|
+
_0x251893(0xc7),
|
|
122
|
+
_0x1c064d[_0x251893(a4_0x5d4646._0x4e45df)],
|
|
123
|
+
'zgvMAw5LuhjVCgvYDhK',
|
|
124
|
+
_0x1c064d['oBoGz'],
|
|
125
|
+
_0x251893(a4_0x5d4646._0x2aea47),
|
|
126
|
+
'ndKWmJi1nLHfEuDMAG',
|
|
127
|
+
_0x1c064d[_0x251893(0xf0)],
|
|
128
|
+
'x19LC01VzhvSzq',
|
|
129
|
+
_0x1c064d[_0x251893(a4_0x5d4646._0x3cbaeb)],
|
|
130
|
+
_0x251893(a4_0x5d4646._0x441304),
|
|
131
|
+
_0x1c064d[_0x251893(a4_0x5d4646._0x45c09f)],
|
|
132
|
+
_0x251893(a4_0x5d4646._0x30fa8e),
|
|
133
|
+
_0x1c064d[_0x251893(a4_0x5d4646._0x1fea37)]
|
|
134
|
+
];
|
|
135
|
+
return a5_0x1e74 = function () {
|
|
136
|
+
return _0x358f2a;
|
|
137
|
+
}, a5_0x1e74();
|
|
138
|
+
}
|
|
139
|
+
function a5_0xba88(_0x2020e2, _0x3b67d6) {
|
|
140
|
+
var a4_0x34740e = {
|
|
141
|
+
_0xa240b1: 0xdc,
|
|
142
|
+
_0x436cab: 0xf9,
|
|
143
|
+
_0x3003be: 0xea,
|
|
144
|
+
_0x19f6ba: 0xe2,
|
|
145
|
+
_0x32ecd9: 0xbf,
|
|
146
|
+
_0x3c2839: 0xfa,
|
|
147
|
+
_0x5d1962: 0xb9
|
|
148
|
+
}, a4_0x45abdd = {
|
|
149
|
+
_0x47bb8e: 0xef,
|
|
150
|
+
_0x31b7b4: 0xe1,
|
|
151
|
+
_0x1d8984: 0xdd,
|
|
152
|
+
_0x2d0dc2: 0xdf
|
|
153
|
+
}, _0x2a27fa = a4_0x43da, _0x1b4c0c = {
|
|
154
|
+
'sJnJP': _0x2a27fa(a4_0x34740e._0xa240b1),
|
|
155
|
+
'eTqqV': function (_0x43a88c, _0x450404) {
|
|
156
|
+
return _0x43a88c * _0x450404;
|
|
157
|
+
},
|
|
158
|
+
'teoDF': function (_0x3fe0dd, _0x5c348b) {
|
|
159
|
+
return _0x3fe0dd & _0x5c348b;
|
|
160
|
+
},
|
|
161
|
+
'PZXEI': 'indexOf',
|
|
162
|
+
'tjuJP': _0x2a27fa(a4_0x34740e._0x436cab),
|
|
163
|
+
'fVpvF': function (_0x4880b9, _0x227637) {
|
|
164
|
+
return _0x4880b9 + _0x227637;
|
|
165
|
+
},
|
|
166
|
+
'cRWqR': _0x2a27fa(0xc2),
|
|
167
|
+
'JFLLB': _0x2a27fa(a4_0x34740e._0x3003be),
|
|
168
|
+
'LpurI': function (_0x5116c7, _0x47fe6c) {
|
|
169
|
+
return _0x5116c7(_0x47fe6c);
|
|
170
|
+
},
|
|
171
|
+
'affCh': function (_0x1fab23, _0x209ce0) {
|
|
172
|
+
return _0x1fab23 - _0x209ce0;
|
|
173
|
+
},
|
|
174
|
+
'DsdTf': function (_0x574a9a, _0xfa432b) {
|
|
175
|
+
return _0x574a9a === _0xfa432b;
|
|
176
|
+
},
|
|
177
|
+
'lkQOo': _0x2a27fa(0xf8),
|
|
178
|
+
'RAbrl': _0x2a27fa(a4_0x34740e._0x19f6ba)
|
|
179
|
+
};
|
|
180
|
+
_0x2020e2 = _0x1b4c0c[_0x2a27fa(a4_0x34740e._0x32ecd9)](_0x2020e2, 0xb2);
|
|
181
|
+
var _0x49ef5c = a5_0x1e74(), _0x372759 = _0x49ef5c[_0x2020e2];
|
|
182
|
+
if (_0x1b4c0c[_0x2a27fa(0xd0)](a5_0xba88[_0x2a27fa(0xd1)], undefined)) {
|
|
183
|
+
var _0x27b809 = function (_0x132db5) {
|
|
184
|
+
var _0x2a58a1 = a4_0x43da, _0x35b49e = _0x2a58a1(0xd4)[_0x2a58a1(0xd3)]('|'), _0x37bfb7 = 0x0;
|
|
185
|
+
while (!![]) {
|
|
186
|
+
switch (_0x35b49e[_0x37bfb7++]) {
|
|
187
|
+
case '0':
|
|
188
|
+
for (var _0x1c8044 = 0x0, _0x210988, _0x325d02, _0x5de263 = 0x0; _0x325d02 = _0x132db5[_0x1b4c0c[_0x2a58a1(0xbe)]](_0x5de263++); ~_0x325d02 && (_0x210988 = _0x1c8044 % 0x4 ? _0x1b4c0c[_0x2a58a1(0xe5)](_0x210988, 0x40) + _0x325d02 : _0x325d02, _0x1c8044++ % 0x4) ? _0x459704 += String[_0x2a58a1(0xce)](0xff & _0x210988 >> _0x1b4c0c[_0x2a58a1(0xdb)](_0x1b4c0c['eTqqV'](-0x2, _0x1c8044), 0x6)) : 0x0) {
|
|
189
|
+
_0x325d02 = _0x483d23[_0x1b4c0c[_0x2a58a1(a4_0x45abdd._0x47bb8e)]](_0x325d02);
|
|
190
|
+
}
|
|
191
|
+
continue;
|
|
192
|
+
case '1':
|
|
193
|
+
var _0x483d23 = _0x2a58a1(0xed);
|
|
194
|
+
continue;
|
|
195
|
+
case '2':
|
|
196
|
+
var _0x459704 = '', _0x587609 = '';
|
|
197
|
+
continue;
|
|
198
|
+
case '3':
|
|
199
|
+
for (var _0x590ec6 = 0x0, _0x46645b = _0x459704[_0x1b4c0c[_0x2a58a1(a4_0x45abdd._0x31b7b4)]]; _0x590ec6 < _0x46645b; _0x590ec6++) {
|
|
200
|
+
_0x587609 += _0x1b4c0c[_0x2a58a1(0xcc)]('%', ('00' + _0x459704[_0x2a58a1(0xc9)](_0x590ec6)[_0x1b4c0c[_0x2a58a1(a4_0x45abdd._0x1d8984)]](0x10))[_0x1b4c0c[_0x2a58a1(0xd2)]](-0x2));
|
|
201
|
+
}
|
|
202
|
+
continue;
|
|
203
|
+
case '4':
|
|
204
|
+
return _0x1b4c0c[_0x2a58a1(a4_0x45abdd._0x2d0dc2)](decodeURIComponent, _0x587609);
|
|
205
|
+
}
|
|
206
|
+
break;
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
a5_0xba88[_0x1b4c0c['lkQOo']] = _0x27b809, a5_0xba88['yvIqmX'] = {}, a5_0xba88[_0x2a27fa(0xd1)] = !![];
|
|
210
|
+
}
|
|
211
|
+
var _0x103a19 = _0x49ef5c[0x0], _0x368ab2 = _0x2020e2 + _0x103a19, _0x555b97 = a5_0xba88[_0x2a27fa(0xe2)][_0x368ab2];
|
|
212
|
+
return !_0x555b97 ? (_0x372759 = a5_0xba88[_0x1b4c0c[_0x2a27fa(a4_0x34740e._0x3c2839)]](_0x372759), a5_0xba88[_0x1b4c0c[_0x2a27fa(a4_0x34740e._0x5d1962)]][_0x368ab2] = _0x372759) : _0x372759 = _0x555b97, _0x372759;
|
|
213
|
+
}
|
|
214
|
+
Object[a5_0x327586(0xbd)](exports, a5_0x327586(0xb4), { 'value': !![] }), exports['TLV_TYPE'] = void 0x0, exports['ok'] = ok, exports[a5_0x327586(0xb9)] = err;
|
|
215
|
+
function ok(_0x259a7e) {
|
|
216
|
+
return {
|
|
217
|
+
'ok': !![],
|
|
218
|
+
'value': _0x259a7e
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
function err(_0x157c5f) {
|
|
222
|
+
return {
|
|
223
|
+
'ok': ![],
|
|
224
|
+
'error': _0x157c5f
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
function a4_0xf026() {
|
|
228
|
+
var _0x3a6110 = [
|
|
229
|
+
'ndiWotG3BxrZEgXU',
|
|
230
|
+
'zfzPzLa',
|
|
231
|
+
'odm4nJaXuhvfy0T4',
|
|
232
|
+
'xZb4mwm5zJuX',
|
|
233
|
+
'C0PUsLa',
|
|
234
|
+
'ywzMq2G',
|
|
235
|
+
'C2HPzNq',
|
|
236
|
+
'Bu1QANyXEND5Cq',
|
|
237
|
+
'Dg9tDhjPBMC',
|
|
238
|
+
'BuPHwM5AztbTzKrpqNziBKfx',
|
|
239
|
+
'xZb4ndvKm2iW',
|
|
240
|
+
'Aff5Bfq',
|
|
241
|
+
'nZm3nZy4zefrsg1v',
|
|
242
|
+
'BvP2zNiYtfHZsZq',
|
|
243
|
+
'DgDqCxm',
|
|
244
|
+
'y2HHCKnVzgvbDa',
|
|
245
|
+
'xZb4nwnHntnL',
|
|
246
|
+
'vvfQu0W',
|
|
247
|
+
'zLzWDKy',
|
|
248
|
+
'y2fQCKq',
|
|
249
|
+
'zNjVBunOyxjdB2rL',
|
|
250
|
+
'mJyWotfxzeHTDgC',
|
|
251
|
+
'rhnKvgy',
|
|
252
|
+
'u1nSBg5c',
|
|
253
|
+
'sKzmtei',
|
|
254
|
+
'C3bSAxq',
|
|
255
|
+
'mxWYFdb8m3W0',
|
|
256
|
+
'xZb4mZu3ngfM',
|
|
257
|
+
'mte0we1uCK1q',
|
|
258
|
+
'BLPXmM50ytrYDvr5rwveCq',
|
|
259
|
+
'ChvZAa',
|
|
260
|
+
'BgDcrMm',
|
|
261
|
+
't1b5z2i',
|
|
262
|
+
'DgvVrey',
|
|
263
|
+
'y2HHCKf0',
|
|
264
|
+
'y1jxCvi',
|
|
265
|
+
'ELPxzKm',
|
|
266
|
+
'thb1CKK',
|
|
267
|
+
'r3fitue',
|
|
268
|
+
'DgP1sLa',
|
|
269
|
+
'ExzjCw1y',
|
|
270
|
+
'zxPowMS',
|
|
271
|
+
'ndKXnteYmdH5q3jPre4',
|
|
272
|
+
'zvrXCvy',
|
|
273
|
+
'yMPRvuO',
|
|
274
|
+
'yxv0sfy',
|
|
275
|
+
'nJi5odC1nenRAwLcrG',
|
|
276
|
+
'Bxrdwg5kBtfbDMP6q2DmCq',
|
|
277
|
+
'C2XPy2u',
|
|
278
|
+
'mtmXodvsBhHbr2K',
|
|
279
|
+
'BLjly3C',
|
|
280
|
+
'ywjJzgvMz2HPAMTSBw5VChfYC3r1DND4ExPbqKneruzhseLks0XntK9quvjtvfvwv1HzwJaXmJm0nty3odKRlZ0',
|
|
281
|
+
'nNDIEvbZAa',
|
|
282
|
+
'ufPyruK',
|
|
283
|
+
'vfbIqMm',
|
|
284
|
+
'nJmYBvDlChr4',
|
|
285
|
+
'DMvyD3GXCNP1zxu',
|
|
286
|
+
'tu9NuNG',
|
|
287
|
+
'mtb3A3rUBxa',
|
|
288
|
+
'BuPLnw1KrZrTtvrIDeTeDKvX',
|
|
289
|
+
'mty0CevxAMzA',
|
|
290
|
+
'vfDvvwq',
|
|
291
|
+
'Bw1WAMXi',
|
|
292
|
+
'BgvUz3rO',
|
|
293
|
+
'BgTrt28',
|
|
294
|
+
'uKfICMW'
|
|
295
|
+
];
|
|
296
|
+
a4_0xf026 = function () {
|
|
297
|
+
return _0x3a6110;
|
|
298
|
+
};
|
|
299
|
+
return a4_0xf026();
|
|
300
|
+
}
|
|
301
|
+
exports[a5_0x327586(0xba)] = {
|
|
302
|
+
'MESSAGE_BODY': 0x1,
|
|
303
|
+
'ATTACHMENT': 0x2,
|
|
304
|
+
'SENDER_ID': 0x3,
|
|
305
|
+
'TIMESTAMP': 0x4,
|
|
306
|
+
'MESSAGE_UUID': 0x5,
|
|
307
|
+
'SHARE_INDEX': 0x6,
|
|
308
|
+
'TOTAL_SHARES': 0x7,
|
|
309
|
+
'THRESHOLD': 0x8,
|
|
310
|
+
'HMAC_KEY': 0x9,
|
|
311
|
+
'HMAC_SIGNATURE': 0xa,
|
|
312
|
+
'CONTENT_TYPE': 0xb,
|
|
313
|
+
'MESSAGE_SUBJECT': 0xc,
|
|
314
|
+
'SENDER_EMAIL': 0xd
|
|
315
|
+
};
|
|
@@ -1 +1,244 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x237bf1 = a7_0x2fef;
|
|
2
|
+
(function (_0x1fa1bd, _0x51f298) {
|
|
3
|
+
const a7_0x44d331 = {
|
|
4
|
+
_0x4f0eeb: 0x1df,
|
|
5
|
+
_0x1d4b1d: 0x1d4,
|
|
6
|
+
_0x299116: 0x1ea,
|
|
7
|
+
_0x4aea7d: 0x1db,
|
|
8
|
+
_0x54b052: 0x1cd
|
|
9
|
+
}, _0x1b5800 = a7_0x2fef, _0x25e409 = _0x1fa1bd();
|
|
10
|
+
while (!![]) {
|
|
11
|
+
try {
|
|
12
|
+
const _0x341f1f = -parseInt(_0x1b5800(0x1ce)) / 0x1 * (parseInt(_0x1b5800(0x1e1)) / 0x2) + -parseInt(_0x1b5800(a7_0x44d331._0x4f0eeb)) / 0x3 * (-parseInt(_0x1b5800(a7_0x44d331._0x1d4b1d)) / 0x4) + -parseInt(_0x1b5800(0x1e7)) / 0x5 + parseInt(_0x1b5800(0x1eb)) / 0x6 * (-parseInt(_0x1b5800(0x1c7)) / 0x7) + -parseInt(_0x1b5800(a7_0x44d331._0x299116)) / 0x8 + -parseInt(_0x1b5800(a7_0x44d331._0x4aea7d)) / 0x9 * (-parseInt(_0x1b5800(a7_0x44d331._0x54b052)) / 0xa) + parseInt(_0x1b5800(0x1e4)) / 0xb;
|
|
13
|
+
if (_0x341f1f === _0x51f298)
|
|
14
|
+
break;
|
|
15
|
+
else
|
|
16
|
+
_0x25e409['push'](_0x25e409['shift']());
|
|
17
|
+
} catch (_0x462a2f) {
|
|
18
|
+
_0x25e409['push'](_0x25e409['shift']());
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}(a7_0xe458, 0x4ac0d));
|
|
22
|
+
const DOC_BASE = a7_0x237bf1(0x1ca);
|
|
23
|
+
export class SharedError extends Error {
|
|
24
|
+
[a7_0x237bf1(0x1d0)];
|
|
25
|
+
['subCode'];
|
|
26
|
+
['docUrl'];
|
|
27
|
+
constructor(_0x4095a1, _0x4892f5, _0x28fd4d) {
|
|
28
|
+
const a7_0x5df0e3 = {
|
|
29
|
+
_0x359b1b: 0x1e6,
|
|
30
|
+
_0x3ab965: 0x1d2,
|
|
31
|
+
_0x422fad: 0x1c6,
|
|
32
|
+
_0x3615e1: 0x1ec,
|
|
33
|
+
_0x59c0ab: 0x1ed,
|
|
34
|
+
_0x2003a6: 0x1e8
|
|
35
|
+
}, _0x5cd48e = a7_0x2fef;
|
|
36
|
+
super(_0x4892f5), this[_0x5cd48e(a7_0x5df0e3._0x359b1b)] = _0x5cd48e(a7_0x5df0e3._0x3ab965);
|
|
37
|
+
const _0x278600 = _0x4095a1[_0x5cd48e(a7_0x5df0e3._0x422fad)](':');
|
|
38
|
+
this[_0x5cd48e(0x1d0)] = _0x278600[0x0] ?? _0x4095a1, this['subCode'] = _0x278600[_0x5cd48e(a7_0x5df0e3._0x3615e1)] > 0x1 ? _0x278600[_0x5cd48e(0x1c9)](0x1)[_0x5cd48e(a7_0x5df0e3._0x59c0ab)](':') : undefined, this[_0x5cd48e(a7_0x5df0e3._0x2003a6)] = _0x28fd4d;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export class SharedTypeError extends SharedError {
|
|
42
|
+
constructor(_0x260af6, _0x455fcd) {
|
|
43
|
+
const a7_0x34ee3f = { _0x1e4f20: 0x1e6 }, _0x4a8075 = a7_0x2fef;
|
|
44
|
+
super(_0x260af6, _0x455fcd, DOC_BASE + '#types'), this[_0x4a8075(a7_0x34ee3f._0x1e4f20)] = _0x4a8075(0x1c8);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export class SharedResultError extends SharedError {
|
|
48
|
+
constructor(_0x7de6d1, _0x1600c9) {
|
|
49
|
+
const a7_0x5abab4 = {
|
|
50
|
+
_0x51e552: 0x1dc,
|
|
51
|
+
_0x41b970: 0x1e6,
|
|
52
|
+
_0x8e9214: 0x1d6
|
|
53
|
+
}, _0x52301e = a7_0x2fef;
|
|
54
|
+
super(_0x7de6d1, _0x1600c9, DOC_BASE + _0x52301e(a7_0x5abab4._0x51e552)), this[_0x52301e(a7_0x5abab4._0x41b970)] = _0x52301e(a7_0x5abab4._0x8e9214);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
export class SharedTlvError extends SharedError {
|
|
58
|
+
constructor(_0x4b552a, _0x10cc87) {
|
|
59
|
+
const a7_0x262c64 = { _0x35e84c: 0x1cb }, _0x14e586 = a7_0x2fef, _0x586a20 = { 'nBtwy': _0x14e586(0x1e9) };
|
|
60
|
+
super(_0x4b552a, _0x10cc87, DOC_BASE + _0x14e586(0x1e0)), this[_0x14e586(0x1e6)] = _0x586a20[_0x14e586(a7_0x262c64._0x35e84c)];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export const ERROR_MESSAGES = {
|
|
64
|
+
'INVALID_PROVIDER': a7_0x237bf1(0x1ef),
|
|
65
|
+
'INVALID_SECURITY_TIER': 'Invalid\x20security\x20tier\x20(must\x20be\x20blue\x20or\x20green)',
|
|
66
|
+
'INVALID_CONTENT_TYPE': 'Invalid\x20content\x20type\x20(must\x20be\x20text/plain\x20or\x20text/html)',
|
|
67
|
+
'INVALID_MESSAGE_TYPE': a7_0x237bf1(0x1cf),
|
|
68
|
+
'INVALID_TLV_TYPE': a7_0x237bf1(0x1d3),
|
|
69
|
+
'INVALID_RESULT': a7_0x237bf1(0x1c5),
|
|
70
|
+
'MISSING_VALUE': 'Result\x20marked\x20as\x20ok\x20but\x20value\x20is\x20missing',
|
|
71
|
+
'MISSING_ERROR': a7_0x237bf1(0x1e2),
|
|
72
|
+
'INVALID_CHANNEL_ADDRESS': a7_0x237bf1(0x1cc),
|
|
73
|
+
'INVALID_CONTACT_INFO': 'Contact\x20info\x20is\x20missing\x20required\x20fields',
|
|
74
|
+
'INVALID_ATTACHMENT': a7_0x237bf1(0x1de)
|
|
75
|
+
};
|
|
76
|
+
export const ERROR_DETAILS = {
|
|
77
|
+
'INVALID_PROVIDER': {
|
|
78
|
+
'message': a7_0x237bf1(0x1d7),
|
|
79
|
+
'aws': a7_0x237bf1(0x1d8),
|
|
80
|
+
'grpc': a7_0x237bf1(0x1d9),
|
|
81
|
+
'http': 0x190,
|
|
82
|
+
'severity': a7_0x237bf1(0x1e3)
|
|
83
|
+
},
|
|
84
|
+
'INVALID_SECURITY_TIER': {
|
|
85
|
+
'message': a7_0x237bf1(0x1e5),
|
|
86
|
+
'aws': a7_0x237bf1(0x1d8),
|
|
87
|
+
'grpc': a7_0x237bf1(0x1d9),
|
|
88
|
+
'http': 0x190,
|
|
89
|
+
'severity': a7_0x237bf1(0x1d1)
|
|
90
|
+
},
|
|
91
|
+
'INVALID_CONTENT_TYPE': {
|
|
92
|
+
'message': 'Content\x20type\x20must\x20be\x20text/plain\x20or\x20text/html\x20for\x20message\x20bodies.',
|
|
93
|
+
'aws': a7_0x237bf1(0x1d8),
|
|
94
|
+
'grpc': 'INVALID_ARGUMENT',
|
|
95
|
+
'http': 0x190,
|
|
96
|
+
'severity': a7_0x237bf1(0x1d1)
|
|
97
|
+
},
|
|
98
|
+
'INVALID_MESSAGE_TYPE': {
|
|
99
|
+
'message': 'Message\x20type\x20must\x20be\x20regular\x20(unsecured)\x20or\x20secure\x20(split-channel).',
|
|
100
|
+
'aws': a7_0x237bf1(0x1d8),
|
|
101
|
+
'grpc': a7_0x237bf1(0x1d9),
|
|
102
|
+
'http': 0x190,
|
|
103
|
+
'severity': a7_0x237bf1(0x1e3)
|
|
104
|
+
},
|
|
105
|
+
'INVALID_TLV_TYPE': {
|
|
106
|
+
'message': a7_0x237bf1(0x1da),
|
|
107
|
+
'aws': a7_0x237bf1(0x1d8),
|
|
108
|
+
'grpc': a7_0x237bf1(0x1d9),
|
|
109
|
+
'http': 0x190,
|
|
110
|
+
'severity': 'medium'
|
|
111
|
+
},
|
|
112
|
+
'INVALID_RESULT': {
|
|
113
|
+
'message': 'Result\x20object\x20must\x20have\x20exactly\x20one\x20of:\x20{ok:\x20true,\x20value:\x20T}\x20or\x20{ok:\x20false,\x20error:\x20E}.',
|
|
114
|
+
'aws': a7_0x237bf1(0x1d8),
|
|
115
|
+
'grpc': a7_0x237bf1(0x1d9),
|
|
116
|
+
'http': 0x190,
|
|
117
|
+
'severity': a7_0x237bf1(0x1e3)
|
|
118
|
+
},
|
|
119
|
+
'MISSING_VALUE': {
|
|
120
|
+
'message': 'Result.ok\x20is\x20true\x20but\x20Result.value\x20is\x20undefined.\x20Use\x20ok(value)\x20constructor.',
|
|
121
|
+
'aws': 'InvalidParameterValue',
|
|
122
|
+
'grpc': 'INVALID_ARGUMENT',
|
|
123
|
+
'http': 0x190,
|
|
124
|
+
'severity': a7_0x237bf1(0x1e3)
|
|
125
|
+
},
|
|
126
|
+
'MISSING_ERROR': {
|
|
127
|
+
'message': a7_0x237bf1(0x1d5),
|
|
128
|
+
'aws': a7_0x237bf1(0x1d8),
|
|
129
|
+
'grpc': a7_0x237bf1(0x1d9),
|
|
130
|
+
'http': 0x190,
|
|
131
|
+
'severity': 'high'
|
|
132
|
+
},
|
|
133
|
+
'INVALID_CHANNEL_ADDRESS': {
|
|
134
|
+
'message': a7_0x237bf1(0x1c4),
|
|
135
|
+
'aws': a7_0x237bf1(0x1d8),
|
|
136
|
+
'grpc': 'INVALID_ARGUMENT',
|
|
137
|
+
'http': 0x190,
|
|
138
|
+
'severity': 'high'
|
|
139
|
+
},
|
|
140
|
+
'INVALID_CONTACT_INFO': {
|
|
141
|
+
'message': 'ContactInfo\x20must\x20have\x20name,\x20channels\x20array,\x20and\x20valid\x20securityTier.',
|
|
142
|
+
'aws': a7_0x237bf1(0x1d8),
|
|
143
|
+
'grpc': a7_0x237bf1(0x1d9),
|
|
144
|
+
'http': 0x190,
|
|
145
|
+
'severity': a7_0x237bf1(0x1e3)
|
|
146
|
+
},
|
|
147
|
+
'INVALID_ATTACHMENT': {
|
|
148
|
+
'message': a7_0x237bf1(0x1dd),
|
|
149
|
+
'aws': 'InvalidParameterValue',
|
|
150
|
+
'grpc': 'INVALID_ARGUMENT',
|
|
151
|
+
'http': 0x190,
|
|
152
|
+
'severity': a7_0x237bf1(0x1d1)
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
export function toSharedError(_0x2ca276) {
|
|
156
|
+
const a7_0x7f6291 = { _0x5ea3fd: 0x1f0 }, _0x1a156a = a7_0x2fef, _0xebb89f = { 'mHMZB': 'INVALID_RESULT' };
|
|
157
|
+
if (_0x2ca276 instanceof SharedError)
|
|
158
|
+
return _0x2ca276;
|
|
159
|
+
if (_0x2ca276 instanceof Error)
|
|
160
|
+
return new SharedError(_0xebb89f[_0x1a156a(a7_0x7f6291._0x5ea3fd)], _0x2ca276[_0x1a156a(0x1ee)]);
|
|
161
|
+
return new SharedError(_0xebb89f['mHMZB'], String(_0x2ca276));
|
|
162
|
+
}
|
|
163
|
+
export function isSharedError(_0x42005e) {
|
|
164
|
+
const _0x5885cc = {
|
|
165
|
+
'RzhGe': function (_0x7901cd, _0x3113dc) {
|
|
166
|
+
return _0x7901cd instanceof _0x3113dc;
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
return _0x5885cc['RzhGe'](_0x42005e, SharedError);
|
|
170
|
+
}
|
|
171
|
+
function a7_0x2fef(_0x20973a, _0x2de3b8) {
|
|
172
|
+
_0x20973a = _0x20973a - 0x1c4;
|
|
173
|
+
const _0xe45804 = a7_0xe458();
|
|
174
|
+
let _0x2fefda = _0xe45804[_0x20973a];
|
|
175
|
+
if (a7_0x2fef['JnXOHC'] === undefined) {
|
|
176
|
+
var _0xf6d8d5 = function (_0x19c373) {
|
|
177
|
+
const _0x4e1032 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
178
|
+
let _0x449560 = '', _0x407c7c = '';
|
|
179
|
+
for (let _0x1a8b51 = 0x0, _0x3ce659, _0x318e3e, _0x3f4b8d = 0x0; _0x318e3e = _0x19c373['charAt'](_0x3f4b8d++); ~_0x318e3e && (_0x3ce659 = _0x1a8b51 % 0x4 ? _0x3ce659 * 0x40 + _0x318e3e : _0x318e3e, _0x1a8b51++ % 0x4) ? _0x449560 += String['fromCharCode'](0xff & _0x3ce659 >> (-0x2 * _0x1a8b51 & 0x6)) : 0x0) {
|
|
180
|
+
_0x318e3e = _0x4e1032['indexOf'](_0x318e3e);
|
|
181
|
+
}
|
|
182
|
+
for (let _0x5adf79 = 0x0, _0x5629b0 = _0x449560['length']; _0x5adf79 < _0x5629b0; _0x5adf79++) {
|
|
183
|
+
_0x407c7c += '%' + ('00' + _0x449560['charCodeAt'](_0x5adf79)['toString'](0x10))['slice'](-0x2);
|
|
184
|
+
}
|
|
185
|
+
return decodeURIComponent(_0x407c7c);
|
|
186
|
+
};
|
|
187
|
+
a7_0x2fef['LXWqsq'] = _0xf6d8d5, a7_0x2fef['MwTjQQ'] = {}, a7_0x2fef['JnXOHC'] = !![];
|
|
188
|
+
}
|
|
189
|
+
const _0x58d1d5 = _0xe45804[0x0], _0x1b1f4f = _0x20973a + _0x58d1d5, _0x4e2c86 = a7_0x2fef['MwTjQQ'][_0x1b1f4f];
|
|
190
|
+
return !_0x4e2c86 ? (_0x2fefda = a7_0x2fef['LXWqsq'](_0x2fefda), a7_0x2fef['MwTjQQ'][_0x1b1f4f] = _0x2fefda) : _0x2fefda = _0x4e2c86, _0x2fefda;
|
|
191
|
+
}
|
|
192
|
+
function a7_0xe458() {
|
|
193
|
+
const _0x439310 = [
|
|
194
|
+
'AM9PBG',
|
|
195
|
+
'BwvZC2fNzq',
|
|
196
|
+
'sw52ywXPzcbLBwfPBcbWCM92AwrLCIaOBxvZDcbIzsbNBwfPBcWGB3v0Bg9VAYWGB3iGEwfOB28P',
|
|
197
|
+
'BuHnwKi',
|
|
198
|
+
'q2HHBM5LBefKzhjLC3mGBxvZDcbOyxzLigjVDgGGChjVDMLKzxiGyw5KigvTywLSigzPzwXKCY4',
|
|
199
|
+
'uMvZDwX0ig9IAMvJDcbPCYbTywXMB3jTzwq',
|
|
200
|
+
'C3bSAxq',
|
|
201
|
+
'mJu4m1PZvhHjrq',
|
|
202
|
+
'u2HHCMvKvhLWzuvYCM9Y',
|
|
203
|
+
'C2XPy2u',
|
|
204
|
+
'Ahr0Chm6lY9WCML2yxrLlM1Ll2rVy3mVCgfJA2fNzxmVC2HHCMvK',
|
|
205
|
+
'BKj0D3K',
|
|
206
|
+
'q2HHBM5LBcbHzgrYzxnZigLZig1PC3nPBMCGCMvXDwLYzwqGzMLLBgrZ',
|
|
207
|
+
'ntGWuNjjzeLf',
|
|
208
|
+
'odu2nZjfwwDsBNu',
|
|
209
|
+
'sw52ywXPzcbTzxnZywDLihr5CguGkg11C3qGyMuGCMvNDwXHCIbVCIbZzwn1CMuP',
|
|
210
|
+
'y29Kzq',
|
|
211
|
+
'BwvKAxvT',
|
|
212
|
+
'u2HHCMvKrxjYB3i',
|
|
213
|
+
'sw52ywXPzcbutfyGDhLWzsbJB2rL',
|
|
214
|
+
'nefst3DlzG',
|
|
215
|
+
'uMvZDwX0lM9RigLZigzHBhnLigj1Dcbszxn1BhqUzxjYB3iGAxmGDw5KzwzPBMvKlIbvC2uGzxjYkgvYCM9YksbJB25ZDhj1y3rVCI4',
|
|
216
|
+
'u2HHCMvKuMvZDwX0rxjYB3i',
|
|
217
|
+
'rw1HAwWGChjVDMLKzxiGBxvZDcbIzsbVBMuGB2y6igDTywLSlcbVDxrSB29Rlcb5ywHVBY4Gq2HLy2SGDgHLifbYB3zPzgvYihr5CguGzgvMAw5PDgLVBI4',
|
|
218
|
+
'sw52ywXPzfbHCMfTzxrLCLzHBhvL',
|
|
219
|
+
'su5wquXjrf9buKDvtuvova',
|
|
220
|
+
'veXwihr5CguGy29KzsbPCYbUB3qGCMvJB2DUAxPLzc4Gq2HLy2SGveXwx1rzueuGy29UC3rHBNqGzM9YihzHBgLKihzHBhvLCY4',
|
|
221
|
+
'nZGXndDdCxzTvxq',
|
|
222
|
+
'i3jLC3vSDc1Wyxr0zxjU',
|
|
223
|
+
'qxr0ywnOBwvUDcbTDxn0igHHDMuGzMLSzw5HBwuSig1PBwvuExbLlcbHBMqGzgf0ysaOvwLUDdHbCNjHEsKU',
|
|
224
|
+
'qxr0ywnOBwvUDcbPCYbTAxnZAw5NihjLCxvPCMvKigzPzwXKCW',
|
|
225
|
+
'mteYmdKZmKvuDKrAEa',
|
|
226
|
+
'i3rSDG',
|
|
227
|
+
'mtjhy2zWwLa',
|
|
228
|
+
'uMvZDwX0ig1HCMTLzcbHCYbMywLSzwqGyNv0igvYCM9YigLZig1PC3nPBMC',
|
|
229
|
+
'AgLNAa',
|
|
230
|
+
'mJC3ntm4ogLkAuDnBa',
|
|
231
|
+
'u2vJDxjPDhKGDgLLCIbTDxn0igjLigjSDwuGkdiGywrKCMvZC2vZksbVCIbNCMvLBIaOmYSGywrKCMvZC2vZks4GvxnLig51BgWGzM9YihjLz3vSyxiGzw1HAwWU',
|
|
232
|
+
'BMfTzq',
|
|
233
|
+
'nJaXnJu1CKXzCvbp',
|
|
234
|
+
'zg9JvxjS',
|
|
235
|
+
'u2HHCMvKvgX2rxjYB3i',
|
|
236
|
+
'mtm1nty1nMvwzgzczW',
|
|
237
|
+
'mZe4rwrVA2vi',
|
|
238
|
+
'BgvUz3rO'
|
|
239
|
+
];
|
|
240
|
+
a7_0xe458 = function () {
|
|
241
|
+
return _0x439310;
|
|
242
|
+
};
|
|
243
|
+
return a7_0xe458();
|
|
244
|
+
}
|
|
@@ -1 +1,72 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a8_0x2b52(_0x2541da, _0xba58e7) {
|
|
2
|
+
_0x2541da = _0x2541da - 0x179;
|
|
3
|
+
var _0x553b8a = a8_0x553b();
|
|
4
|
+
var _0x2b52e7 = _0x553b8a[_0x2541da];
|
|
5
|
+
if (a8_0x2b52['YTnYDp'] === undefined) {
|
|
6
|
+
var _0x59f90d = function (_0x5647d8) {
|
|
7
|
+
var _0x5ba4b2 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
8
|
+
var _0xa942b1 = '', _0x2e84e4 = '';
|
|
9
|
+
for (var _0x1b0bfd = 0x0, _0x4d7f4b, _0x1721eb, _0xf33e8 = 0x0; _0x1721eb = _0x5647d8['charAt'](_0xf33e8++); ~_0x1721eb && (_0x4d7f4b = _0x1b0bfd % 0x4 ? _0x4d7f4b * 0x40 + _0x1721eb : _0x1721eb, _0x1b0bfd++ % 0x4) ? _0xa942b1 += String['fromCharCode'](0xff & _0x4d7f4b >> (-0x2 * _0x1b0bfd & 0x6)) : 0x0) {
|
|
10
|
+
_0x1721eb = _0x5ba4b2['indexOf'](_0x1721eb);
|
|
11
|
+
}
|
|
12
|
+
for (var _0x804726 = 0x0, _0x252c19 = _0xa942b1['length']; _0x804726 < _0x252c19; _0x804726++) {
|
|
13
|
+
_0x2e84e4 += '%' + ('00' + _0xa942b1['charCodeAt'](_0x804726)['toString'](0x10))['slice'](-0x2);
|
|
14
|
+
}
|
|
15
|
+
return decodeURIComponent(_0x2e84e4);
|
|
16
|
+
};
|
|
17
|
+
a8_0x2b52['epKHri'] = _0x59f90d, a8_0x2b52['QGYYXg'] = {}, a8_0x2b52['YTnYDp'] = !![];
|
|
18
|
+
}
|
|
19
|
+
var _0x39e0a6 = _0x553b8a[0x0], _0xc1cae0 = _0x2541da + _0x39e0a6, _0x363d59 = a8_0x2b52['QGYYXg'][_0xc1cae0];
|
|
20
|
+
return !_0x363d59 ? (_0x2b52e7 = a8_0x2b52['epKHri'](_0x2b52e7), a8_0x2b52['QGYYXg'][_0xc1cae0] = _0x2b52e7) : _0x2b52e7 = _0x363d59, _0x2b52e7;
|
|
21
|
+
}
|
|
22
|
+
(function (_0x6978c8, _0x493f9f) {
|
|
23
|
+
var a8_0x2cccc0 = {
|
|
24
|
+
_0x114450: 0x17b,
|
|
25
|
+
_0x1e5b6d: 0x17d,
|
|
26
|
+
_0x5c1d1b: 0x17c,
|
|
27
|
+
_0x51feb7: 0x179,
|
|
28
|
+
_0x1e87c5: 0x17a,
|
|
29
|
+
_0x2e167b: 0x17f
|
|
30
|
+
}, _0xd6f6d2 = a8_0x2b52, _0x4faeff = _0x6978c8();
|
|
31
|
+
while (!![]) {
|
|
32
|
+
try {
|
|
33
|
+
var _0x3fbd7e = -parseInt(_0xd6f6d2(a8_0x2cccc0._0x114450)) / 0x1 + -parseInt(_0xd6f6d2(a8_0x2cccc0._0x1e5b6d)) / 0x2 + parseInt(_0xd6f6d2(a8_0x2cccc0._0x5c1d1b)) / 0x3 + -parseInt(_0xd6f6d2(a8_0x2cccc0._0x51feb7)) / 0x4 + -parseInt(_0xd6f6d2(a8_0x2cccc0._0x1e87c5)) / 0x5 + -parseInt(_0xd6f6d2(a8_0x2cccc0._0x2e167b)) / 0x6 + parseInt(_0xd6f6d2(0x17e)) / 0x7;
|
|
34
|
+
if (_0x3fbd7e === _0x493f9f)
|
|
35
|
+
break;
|
|
36
|
+
else
|
|
37
|
+
_0x4faeff['push'](_0x4faeff['shift']());
|
|
38
|
+
} catch (_0x3090e5) {
|
|
39
|
+
_0x4faeff['push'](_0x4faeff['shift']());
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}(a8_0x553b, 0x30c4a));
|
|
43
|
+
export {
|
|
44
|
+
ok,
|
|
45
|
+
err,
|
|
46
|
+
TLV_TYPE
|
|
47
|
+
} from './types.js';
|
|
48
|
+
function a8_0x553b() {
|
|
49
|
+
var _0x3be5e = [
|
|
50
|
+
'nZqZnZCZogT4re5SzG',
|
|
51
|
+
'mtK5ndq2mg1uwhjwsa',
|
|
52
|
+
'odiZmdmYteTpwhvw',
|
|
53
|
+
'mtK1odeZnwfnBLrVwq',
|
|
54
|
+
'otC5oev0z1rzyq',
|
|
55
|
+
'nZq5mZe2ufPty05c',
|
|
56
|
+
'mZq1ote4veLQsgvy'
|
|
57
|
+
];
|
|
58
|
+
a8_0x553b = function () {
|
|
59
|
+
return _0x3be5e;
|
|
60
|
+
};
|
|
61
|
+
return a8_0x553b();
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
SharedError,
|
|
65
|
+
SharedTypeError,
|
|
66
|
+
SharedResultError,
|
|
67
|
+
SharedTlvError,
|
|
68
|
+
ERROR_MESSAGES,
|
|
69
|
+
ERROR_DETAILS,
|
|
70
|
+
toSharedError,
|
|
71
|
+
isSharedError
|
|
72
|
+
} from './errors.js';
|