@xylabs/sdk-js 2.3.14 → 2.3.18
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/dist/ApiClient.d.ts +0 -1
- package/dist/ApiClient.js +4 -3
- package/dist/ApiClient.js.map +1 -1
- package/dist/ApiConfig.d.ts +0 -1
- package/dist/ApiEndpoint.d.ts +0 -1
- package/dist/ApiEndpoint.js +79 -39
- package/dist/ApiEndpoint.js.map +1 -1
- package/dist/ApiStage.d.ts +0 -1
- package/dist/BigNumber.d.ts +0 -1
- package/dist/EthAddress.d.ts +1 -4
- package/dist/EthAddress.js +34 -31
- package/dist/EthAddress.js.map +1 -1
- package/dist/Log.d.ts +0 -1
- package/dist/Log.js +36 -14
- package/dist/Log.js.map +1 -1
- package/dist/Override.d.ts +0 -1
- package/dist/assertEx.d.ts +0 -1
- package/dist/assertEx.js +9 -3
- package/dist/assertEx.js.map +1 -1
- package/dist/delay.d.ts +1 -3
- package/dist/delay.js +2 -3
- package/dist/delay.js.map +1 -1
- package/dist/getApiStage.d.ts +0 -1
- package/dist/getApiStage.js +1 -1
- package/dist/getApiStage.js.map +1 -1
- package/dist/index.d.ts +13 -12
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/padHex.d.ts +0 -1
- package/dist/padHex.js +4 -4
- package/dist/padHex.js.map +1 -1
- package/package.json +2 -2
- package/src/EthAddress.ts +1 -3
- package/src/delay.ts +1 -3
- package/src/index.ts +16 -11
- package/dist/ApiClient.d.ts.map +0 -1
- package/dist/ApiConfig.d.ts.map +0 -1
- package/dist/ApiEndpoint.d.ts.map +0 -1
- package/dist/ApiStage.d.ts.map +0 -1
- package/dist/BigNumber.d.ts.map +0 -1
- package/dist/EthAddress.d.ts.map +0 -1
- package/dist/Log.d.ts.map +0 -1
- package/dist/Override.d.ts.map +0 -1
- package/dist/assertEx.d.ts.map +0 -1
- package/dist/delay.d.ts.map +0 -1
- package/dist/getApiStage.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/padHex.d.ts.map +0 -1
package/dist/ApiClient.d.ts
CHANGED
package/dist/ApiClient.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ApiStage } from './ApiStage';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
var ApiClient = /** @class */ (function () {
|
|
3
|
+
function ApiClient(token, stage) {
|
|
4
4
|
this.stage = stage !== null && stage !== void 0 ? stage : ApiStage.Prod;
|
|
5
5
|
this.token = token;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
return ApiClient;
|
|
8
|
+
}());
|
|
8
9
|
export { ApiClient };
|
|
9
10
|
//# sourceMappingURL=ApiClient.js.map
|
package/dist/ApiClient.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiClient.js","sourceRoot":"","sources":["../src/ApiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC
|
|
1
|
+
{"version":3,"file":"ApiClient.js","sourceRoot":"","sources":["../src/ApiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC;IACE,mBAAmB,KAAqB,EAAE,KAAgB;QACxD,IAAI,CAAC,KAAK,GAAG,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,QAAQ,CAAC,IAAI,CAAA;QACnC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACpB,CAAC;IAOH,gBAAC;AAAD,CAAC,AAXD,IAWC;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
package/dist/ApiConfig.d.ts
CHANGED
package/dist/ApiEndpoint.d.ts
CHANGED
package/dist/ApiEndpoint.js
CHANGED
|
@@ -1,49 +1,89 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
1
|
+
import { __awaiter, __generator } from "tslib";
|
|
2
2
|
import axios from 'axios';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
var ApiEndpoint = /** @class */ (function () {
|
|
4
|
+
function ApiEndpoint(config, path) {
|
|
5
5
|
this.config = config;
|
|
6
6
|
this.path = path;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
Object.defineProperty(ApiEndpoint.prototype, "headers", {
|
|
9
|
+
get: function () {
|
|
10
|
+
return this.config.token ? { Authorization: this.config.token } : undefined;
|
|
11
|
+
},
|
|
12
|
+
enumerable: false,
|
|
13
|
+
configurable: true
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(ApiEndpoint.prototype, "url", {
|
|
16
|
+
get: function () {
|
|
17
|
+
return "".concat(this.config.apiDomain, "/").concat(this.path);
|
|
18
|
+
},
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(ApiEndpoint.prototype, "value", {
|
|
23
|
+
get: function () {
|
|
24
|
+
return this._value;
|
|
25
|
+
},
|
|
26
|
+
enumerable: false,
|
|
27
|
+
configurable: true
|
|
28
|
+
});
|
|
29
|
+
ApiEndpoint.prototype.get = function () {
|
|
18
30
|
var _a;
|
|
19
|
-
return __awaiter(this, void 0, void 0, function
|
|
20
|
-
|
|
31
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
32
|
+
var _b;
|
|
33
|
+
return __generator(this, function (_c) {
|
|
34
|
+
switch (_c.label) {
|
|
35
|
+
case 0:
|
|
36
|
+
if (!((_a = this._value) !== null && _a !== void 0)) return [3 /*break*/, 1];
|
|
37
|
+
_b = _a;
|
|
38
|
+
return [3 /*break*/, 3];
|
|
39
|
+
case 1: return [4 /*yield*/, this.fetch()];
|
|
40
|
+
case 2:
|
|
41
|
+
_b = (_c.sent());
|
|
42
|
+
_c.label = 3;
|
|
43
|
+
case 3: return [2 /*return*/, _b];
|
|
44
|
+
}
|
|
45
|
+
});
|
|
21
46
|
});
|
|
22
|
-
}
|
|
23
|
-
fetch() {
|
|
24
|
-
return __awaiter(this, void 0, void 0, function
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
47
|
+
};
|
|
48
|
+
ApiEndpoint.prototype.fetch = function () {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
50
|
+
var response;
|
|
51
|
+
return __generator(this, function (_a) {
|
|
52
|
+
switch (_a.label) {
|
|
53
|
+
case 0: return [4 /*yield*/, axios.get(this.url, { headers: this.headers })];
|
|
54
|
+
case 1:
|
|
55
|
+
response = _a.sent();
|
|
56
|
+
if (response.status === 200) {
|
|
57
|
+
this._value = response.data;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
throw Error('Unexpected Status Code');
|
|
61
|
+
}
|
|
62
|
+
return [2 /*return*/, this._value];
|
|
63
|
+
}
|
|
64
|
+
});
|
|
33
65
|
});
|
|
34
|
-
}
|
|
35
|
-
insert(value) {
|
|
36
|
-
return __awaiter(this, void 0, void 0, function
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
66
|
+
};
|
|
67
|
+
ApiEndpoint.prototype.insert = function (value) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
69
|
+
var response;
|
|
70
|
+
return __generator(this, function (_a) {
|
|
71
|
+
switch (_a.label) {
|
|
72
|
+
case 0: return [4 /*yield*/, axios.post(this.url, value, { headers: this.headers })];
|
|
73
|
+
case 1:
|
|
74
|
+
response = _a.sent();
|
|
75
|
+
if (response.status === 200) {
|
|
76
|
+
this._value = response.data;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
throw Error('Unexpected Status Code');
|
|
80
|
+
}
|
|
81
|
+
return [2 /*return*/, this._value];
|
|
82
|
+
}
|
|
83
|
+
});
|
|
45
84
|
});
|
|
46
|
-
}
|
|
47
|
-
|
|
85
|
+
};
|
|
86
|
+
return ApiEndpoint;
|
|
87
|
+
}());
|
|
48
88
|
export { ApiEndpoint };
|
|
49
89
|
//# sourceMappingURL=ApiEndpoint.js.map
|
package/dist/ApiEndpoint.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiEndpoint.js","sourceRoot":"","sources":["../src/ApiEndpoint.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB
|
|
1
|
+
{"version":3,"file":"ApiEndpoint.js","sourceRoot":"","sources":["../src/ApiEndpoint.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB;IAIE,qBAAY,MAAiB,EAAE,IAAY;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;IAED,sBAAY,gCAAO;aAAnB;YACE,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;QAC7E,CAAC;;;OAAA;IAED,sBAAY,4BAAG;aAAf;YACE,OAAO,UAAG,IAAI,CAAC,MAAM,CAAC,SAAS,cAAI,IAAI,CAAC,IAAI,CAAE,CAAA;QAChD,CAAC;;;OAAA;IAID,sBAAW,8BAAK;aAAhB;YACE,OAAO,IAAI,CAAC,MAAM,CAAA;QACpB,CAAC;;;OAAA;IAEY,yBAAG,GAAhB;;;;;;;oCACS,IAAI,CAAC,MAAM;;;4BAAK,qBAAM,IAAI,CAAC,KAAK,EAAE,EAAA;;wBAAnB,KAAA,CAAC,SAAkB,CAAC,CAAA;;4BAA1C,0BAA0C;;;;KAC3C;IAEY,2BAAK,GAAlB;;;;;4BACmB,qBAAM,KAAK,CAAC,GAAG,CAAI,IAAI,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,EAAA;;wBAAlE,QAAQ,GAAG,SAAuD;wBACxE,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE;4BAC3B,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAA;yBAC5B;6BAAM;4BACL,MAAM,KAAK,CAAC,wBAAwB,CAAC,CAAA;yBACtC;wBACD,sBAAO,IAAI,CAAC,MAAM,EAAA;;;;KACnB;IAEY,4BAAM,GAAnB,UAAoB,KAAQ;;;;;4BACT,qBAAM,KAAK,CAAC,IAAI,CAAI,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,EAAA;;wBAA1E,QAAQ,GAAG,SAA+D;wBAChF,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE;4BAC3B,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAA;yBAC5B;6BAAM;4BACL,MAAM,KAAK,CAAC,wBAAwB,CAAC,CAAA;yBACtC;wBACD,sBAAO,IAAI,CAAC,MAAM,EAAA;;;;KACnB;IACH,kBAAC;AAAD,CAAC,AA9CD,IA8CC;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
package/dist/ApiStage.d.ts
CHANGED
package/dist/BigNumber.d.ts
CHANGED
package/dist/EthAddress.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="bn.js" />
|
|
2
1
|
import { BigNumber } from './BigNumber';
|
|
3
2
|
export declare const isEthAddress: (obj: {
|
|
4
3
|
type: string;
|
|
5
4
|
}) => boolean;
|
|
6
|
-
declare class EthAddress {
|
|
5
|
+
export declare class EthAddress {
|
|
7
6
|
type: string;
|
|
8
7
|
private address;
|
|
9
8
|
static type: string;
|
|
@@ -18,5 +17,3 @@ declare class EthAddress {
|
|
|
18
17
|
toHex(): string;
|
|
19
18
|
toShortString(length?: number): string;
|
|
20
19
|
}
|
|
21
|
-
export { EthAddress };
|
|
22
|
-
//# sourceMappingURL=EthAddress.d.ts.map
|
package/dist/EthAddress.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { assertEx } from './assertEx';
|
|
2
2
|
import { BigNumber } from './BigNumber';
|
|
3
3
|
import { padHex } from './padHex';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export var isEthAddress = function (obj) { return (obj === null || obj === void 0 ? void 0 : obj.type) === EthAddress.type; };
|
|
5
|
+
var EthAddress = /** @class */ (function () {
|
|
6
|
+
function EthAddress(address) {
|
|
7
7
|
this.type = EthAddress.type;
|
|
8
8
|
this.address = address;
|
|
9
9
|
}
|
|
10
|
-
equals(address) {
|
|
10
|
+
EthAddress.prototype.equals = function (address) {
|
|
11
11
|
if (address) {
|
|
12
|
-
|
|
12
|
+
var inAddress = void 0;
|
|
13
13
|
if (typeof address === 'string') {
|
|
14
14
|
inAddress = assertEx(EthAddress.fromString(address), 'Bad Address');
|
|
15
15
|
}
|
|
@@ -19,40 +19,43 @@ class EthAddress {
|
|
|
19
19
|
return this.address.eq(inAddress.address);
|
|
20
20
|
}
|
|
21
21
|
return false;
|
|
22
|
-
}
|
|
23
|
-
|
|
22
|
+
};
|
|
23
|
+
EthAddress.fromString = function (value, base) {
|
|
24
|
+
if (base === void 0) { base = 16; }
|
|
24
25
|
if (value) {
|
|
25
|
-
|
|
26
|
+
var bn = new BigNumber(value.startsWith('0x') ? value.substring(2) : value, base);
|
|
26
27
|
return new EthAddress(bn);
|
|
27
28
|
}
|
|
28
|
-
}
|
|
29
|
-
|
|
29
|
+
};
|
|
30
|
+
EthAddress.parse = function (value, base) {
|
|
30
31
|
if (typeof value === 'string') {
|
|
31
32
|
return this.fromString(value, base);
|
|
32
33
|
}
|
|
33
|
-
}
|
|
34
|
-
toBigNumber() {
|
|
34
|
+
};
|
|
35
|
+
EthAddress.prototype.toBigNumber = function () {
|
|
35
36
|
return this.address;
|
|
36
|
-
}
|
|
37
|
-
toString() {
|
|
38
|
-
return
|
|
39
|
-
}
|
|
40
|
-
toLowerCaseString() {
|
|
37
|
+
};
|
|
38
|
+
EthAddress.prototype.toString = function () {
|
|
39
|
+
return "0x".concat(this.toHex());
|
|
40
|
+
};
|
|
41
|
+
EthAddress.prototype.toLowerCaseString = function () {
|
|
41
42
|
return this.toString().toLowerCase();
|
|
42
|
-
}
|
|
43
|
-
toJSON() {
|
|
44
|
-
return
|
|
45
|
-
}
|
|
46
|
-
toHex() {
|
|
43
|
+
};
|
|
44
|
+
EthAddress.prototype.toJSON = function () {
|
|
45
|
+
return "0x".concat(this.toHex());
|
|
46
|
+
};
|
|
47
|
+
EthAddress.prototype.toHex = function () {
|
|
47
48
|
return padHex(this.address.toString(16), 20);
|
|
48
|
-
}
|
|
49
|
-
toShortString
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
EthAddress.type = 'EthAddress';
|
|
49
|
+
};
|
|
50
|
+
EthAddress.prototype.toShortString = function (length) {
|
|
51
|
+
if (length === void 0) { length = 2; }
|
|
52
|
+
var hex = this.toHex();
|
|
53
|
+
var part1 = hex.slice(0, length);
|
|
54
|
+
var part2 = hex.slice(hex.length - length, hex.length);
|
|
55
|
+
return "0x".concat(part1, "...").concat(part2);
|
|
56
|
+
};
|
|
57
|
+
EthAddress.type = 'EthAddress';
|
|
58
|
+
return EthAddress;
|
|
59
|
+
}());
|
|
57
60
|
export { EthAddress };
|
|
58
61
|
//# sourceMappingURL=EthAddress.js.map
|
package/dist/EthAddress.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EthAddress.js","sourceRoot":"","sources":["../src/EthAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CA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ANGED
package/dist/Log.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
1
2
|
import Rollbar from 'rollbar';
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var Log = /** @class */ (function () {
|
|
4
|
+
function Log(config) {
|
|
4
5
|
var _a;
|
|
5
6
|
this.devMode = (_a = config.devMode) !== null && _a !== void 0 ? _a : false;
|
|
6
7
|
if (config.rollbarToken) {
|
|
@@ -10,7 +11,7 @@ class Log {
|
|
|
10
11
|
captureUnhandledRejections: true,
|
|
11
12
|
codeVersion: config.commitHash,
|
|
12
13
|
code_version: config.commitHash,
|
|
13
|
-
payload:
|
|
14
|
+
payload: __assign({ client: {
|
|
14
15
|
javascript: {
|
|
15
16
|
code_version: config.commitHash,
|
|
16
17
|
guess_uncaught_frames: true,
|
|
@@ -22,39 +23,60 @@ class Log {
|
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
25
|
-
error(
|
|
26
|
+
Log.prototype.error = function () {
|
|
26
27
|
var _a;
|
|
28
|
+
var params = [];
|
|
29
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
30
|
+
params[_i] = arguments[_i];
|
|
31
|
+
}
|
|
27
32
|
console.error(params);
|
|
28
33
|
if (this.devMode) {
|
|
29
34
|
(_a = this.rollbar) === null || _a === void 0 ? void 0 : _a.error(params);
|
|
30
35
|
}
|
|
31
|
-
}
|
|
36
|
+
};
|
|
32
37
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
33
|
-
warn(
|
|
38
|
+
Log.prototype.warn = function () {
|
|
34
39
|
var _a;
|
|
40
|
+
var params = [];
|
|
41
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
42
|
+
params[_i] = arguments[_i];
|
|
43
|
+
}
|
|
35
44
|
console.warn(params);
|
|
36
45
|
if (this.devMode) {
|
|
37
46
|
(_a = this.rollbar) === null || _a === void 0 ? void 0 : _a.warn(params);
|
|
38
47
|
}
|
|
39
|
-
}
|
|
48
|
+
};
|
|
40
49
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
41
|
-
info(
|
|
50
|
+
Log.prototype.info = function () {
|
|
51
|
+
var params = [];
|
|
52
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
53
|
+
params[_i] = arguments[_i];
|
|
54
|
+
}
|
|
42
55
|
if (this.devMode) {
|
|
43
56
|
console.info(params);
|
|
44
57
|
}
|
|
45
|
-
}
|
|
58
|
+
};
|
|
46
59
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
47
|
-
debug(
|
|
60
|
+
Log.prototype.debug = function () {
|
|
61
|
+
var params = [];
|
|
62
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
63
|
+
params[_i] = arguments[_i];
|
|
64
|
+
}
|
|
48
65
|
if (this.devMode) {
|
|
49
66
|
console.debug(params);
|
|
50
67
|
}
|
|
51
|
-
}
|
|
68
|
+
};
|
|
52
69
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
53
|
-
log(
|
|
70
|
+
Log.prototype.log = function () {
|
|
71
|
+
var params = [];
|
|
72
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
73
|
+
params[_i] = arguments[_i];
|
|
74
|
+
}
|
|
54
75
|
if (this.devMode) {
|
|
55
76
|
console.log(params);
|
|
56
77
|
}
|
|
57
|
-
}
|
|
58
|
-
|
|
78
|
+
};
|
|
79
|
+
return Log;
|
|
80
|
+
}());
|
|
59
81
|
export { Log };
|
|
60
82
|
//# sourceMappingURL=Log.js.map
|
package/dist/Log.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Log.js","sourceRoot":"","sources":["../src/Log.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAS7B
|
|
1
|
+
{"version":3,"file":"Log.js","sourceRoot":"","sources":["../src/Log.ts"],"names":[],"mappings":";A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ACpB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAI,CAAC,MAAM,CAAC,CAAA;SAC3B;IACH,CAAC;IAED,8DAA8D;IACvD,kBAAI,GAAX;QAAY,gBAAgB;aAAhB,UAAgB,EAAhB,qBAAgB,EAAhB,IAAgB;YAAhB,2BAAgB;;QAC1B,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;SACrB;IACH,CAAC;IAED,8DAA8D;IACvD,mBAAK,GAAZ;QAAa,gBAAgB;aAAhB,UAAgB,EAAhB,qBAAgB,EAAhB,IAAgB;YAAhB,2BAAgB;;QAC3B,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;SACtB;IACH,CAAC;IAED,8DAA8D;IACvD,iBAAG,GAAV;QAAW,gBAAgB;aAAhB,UAAgB,EAAhB,qBAAgB,EAAhB,IAAgB;YAAhB,2BAAgB;;QACzB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;SACpB;IACH,CAAC;IACH,UAAC;AAAD,CAAC,AApED,IAoEC;AAED,OAAO,EAAE,GAAG,EAAE,CAAA"}
|
package/dist/Override.d.ts
CHANGED
package/dist/assertEx.d.ts
CHANGED
package/dist/assertEx.js
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
/**
|
|
2
3
|
* Error object thrown by assertEx
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var AssertExError = /** @class */ (function (_super) {
|
|
6
|
+
__extends(AssertExError, _super);
|
|
7
|
+
function AssertExError() {
|
|
8
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9
|
+
}
|
|
10
|
+
return AssertExError;
|
|
11
|
+
}(Error));
|
|
6
12
|
/**
|
|
7
13
|
*
|
|
8
14
|
* Intended for simple null/undefiend checks for variables
|
|
@@ -12,7 +18,7 @@ class AssertExError extends Error {
|
|
|
12
18
|
* @throws AssertExError
|
|
13
19
|
* @returns Value of expression
|
|
14
20
|
*/
|
|
15
|
-
|
|
21
|
+
var assertEx = function (expr, message) {
|
|
16
22
|
if (expr)
|
|
17
23
|
return expr;
|
|
18
24
|
throw new AssertExError(message);
|
package/dist/assertEx.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertEx.js","sourceRoot":"","sources":["../src/assertEx.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"assertEx.js","sourceRoot":"","sources":["../src/assertEx.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH;IAA4B,iCAAK;IAAjC;;IAAmC,CAAC;IAAD,oBAAC;AAAD,CAAC,AAApC,CAA4B,KAAK,GAAG;AAEpC;;;;;;;;GAQG;AACH,IAAM,QAAQ,GAAG,UAAI,IAAe,EAAE,OAAgB;IACpD,IAAI,IAAI;QAAE,OAAO,IAAI,CAAA;IACrB,MAAM,IAAI,aAAa,CAAC,OAAO,CAAC,CAAA;AAClC,CAAC,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
package/dist/delay.d.ts
CHANGED
package/dist/delay.js
CHANGED
package/dist/delay.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delay.js","sourceRoot":"","sources":["../src/delay.ts"],"names":[],"mappings":"AAAA,MAAM,KAAK,GAAG,
|
|
1
|
+
{"version":3,"file":"delay.js","sourceRoot":"","sources":["../src/delay.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,KAAK,GAAG,UAAC,EAAU;IAC9B,OAAO,IAAI,OAAO,CAAC,UAAC,OAAO,IAAK,OAAA,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,EAAvB,CAAuB,CAAC,CAAA;AAC1D,CAAC,CAAA"}
|
package/dist/getApiStage.d.ts
CHANGED
package/dist/getApiStage.js
CHANGED
package/dist/getApiStage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getApiStage.js","sourceRoot":"","sources":["../src/getApiStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,
|
|
1
|
+
{"version":3,"file":"getApiStage.js","sourceRoot":"","sources":["../src/getApiStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,IAAM,WAAW,GAAG,UAAC,QAAgB;IACnC,IAAI,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE;QACpC,OAAO,QAAQ,CAAC,KAAK,CAAA;KACtB;SAAM,IAAI,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;QACvC,OAAO,QAAQ,CAAC,IAAI,CAAA;KACrB;SAAM;QACL,OAAO,QAAQ,CAAC,IAAI,CAAA;KACrB;AACH,CAAC,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { ApiClient } from './ApiClient';
|
|
2
|
+
import { ApiConfig } from './ApiConfig';
|
|
3
|
+
import { ApiEndpoint } from './ApiEndpoint';
|
|
4
|
+
import { ApiStage } from './ApiStage';
|
|
5
|
+
import { assertEx } from './assertEx';
|
|
6
|
+
import { BigNumber } from './BigNumber';
|
|
7
|
+
import { delay } from './delay';
|
|
8
|
+
import { EthAddress, isEthAddress } from './EthAddress';
|
|
9
|
+
import { getApiStage } from './getApiStage';
|
|
10
|
+
import { Log } from './Log';
|
|
11
|
+
import { Override } from './Override';
|
|
12
|
+
export { ApiClient, ApiEndpoint, ApiStage, assertEx, BigNumber, delay, EthAddress, getApiStage, isEthAddress, Log };
|
|
13
|
+
export type { ApiConfig, Override };
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export *
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
1
|
+
//not using "export *" since that causes a problem importing into node
|
|
2
|
+
import { ApiClient } from './ApiClient';
|
|
3
|
+
import { ApiEndpoint } from './ApiEndpoint';
|
|
4
|
+
import { ApiStage } from './ApiStage';
|
|
5
|
+
import { assertEx } from './assertEx';
|
|
6
|
+
import { BigNumber } from './BigNumber';
|
|
7
|
+
import { delay } from './delay';
|
|
8
|
+
import { EthAddress, isEthAddress } from './EthAddress';
|
|
9
|
+
import { getApiStage } from './getApiStage';
|
|
10
|
+
import { Log } from './Log';
|
|
11
|
+
export { ApiClient, ApiEndpoint, ApiStage, assertEx, BigNumber, delay, EthAddress, getApiStage, isEthAddress, Log };
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,sEAAsE;AAEtE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAG3B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,CAAA"}
|
package/dist/padHex.d.ts
CHANGED
package/dist/padHex.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var padHex = function (hex, byteCount) {
|
|
2
|
+
var result = hex;
|
|
3
3
|
if (hex.length % 2 !== 0) {
|
|
4
|
-
result =
|
|
4
|
+
result = "0".concat(hex);
|
|
5
5
|
}
|
|
6
6
|
if (byteCount) {
|
|
7
7
|
while (result.length / 2 < byteCount) {
|
|
8
|
-
result =
|
|
8
|
+
result = "00".concat(result);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
return result;
|
package/dist/padHex.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"padHex.js","sourceRoot":"","sources":["../src/padHex.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"padHex.js","sourceRoot":"","sources":["../src/padHex.ts"],"names":[],"mappings":"AAAA,IAAM,MAAM,GAAG,UAAC,GAAW,EAAE,SAAkB;IAC7C,IAAI,MAAM,GAAG,GAAG,CAAA;IAChB,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,EAAE;QACxB,MAAM,GAAG,WAAI,GAAG,CAAE,CAAA;KACnB;IACD,IAAI,SAAS,EAAE;QACb,OAAO,MAAM,CAAC,MAAM,GAAG,CAAC,GAAG,SAAS,EAAE;YACpC,MAAM,GAAG,YAAK,MAAM,CAAE,CAAA;SACvB;KACF;IACD,OAAO,MAAM,CAAA;AACf,CAAC,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
package/package.json
CHANGED
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"uuid": "^8"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
|
+
"compile": "tsc -p tsconfig.build.json",
|
|
62
63
|
"lint-pkg": "npmPkgJsonLint .",
|
|
63
64
|
"test": "jest"
|
|
64
65
|
},
|
|
65
66
|
"sideEffects": false,
|
|
66
|
-
"type": "module",
|
|
67
67
|
"types": "dist/index.d.ts",
|
|
68
|
-
"version": "2.3.
|
|
68
|
+
"version": "2.3.18"
|
|
69
69
|
}
|
package/src/EthAddress.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { padHex } from './padHex'
|
|
|
4
4
|
|
|
5
5
|
export const isEthAddress = (obj: { type: string }) => obj?.type === EthAddress.type
|
|
6
6
|
|
|
7
|
-
class EthAddress {
|
|
7
|
+
export class EthAddress {
|
|
8
8
|
public type = EthAddress.type
|
|
9
9
|
|
|
10
10
|
private address: BigNumber
|
|
@@ -68,5 +68,3 @@ class EthAddress {
|
|
|
68
68
|
return `0x${part1}...${part2}`
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
export { EthAddress }
|
package/src/delay.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
export *
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
//not using "export *" since that causes a problem importing into node
|
|
2
|
+
|
|
3
|
+
import { ApiClient } from './ApiClient'
|
|
4
|
+
import { ApiConfig } from './ApiConfig'
|
|
5
|
+
import { ApiEndpoint } from './ApiEndpoint'
|
|
6
|
+
import { ApiStage } from './ApiStage'
|
|
7
|
+
import { assertEx } from './assertEx'
|
|
8
|
+
import { BigNumber } from './BigNumber'
|
|
9
|
+
import { delay } from './delay'
|
|
10
|
+
import { EthAddress, isEthAddress } from './EthAddress'
|
|
11
|
+
import { getApiStage } from './getApiStage'
|
|
12
|
+
import { Log } from './Log'
|
|
13
|
+
import { Override } from './Override'
|
|
14
|
+
|
|
15
|
+
export { ApiClient, ApiEndpoint, ApiStage, assertEx, BigNumber, delay, EthAddress, getApiStage, isEthAddress, Log }
|
|
16
|
+
export type { ApiConfig, Override }
|
package/dist/ApiClient.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiClient.d.ts","sourceRoot":"","sources":["../src/ApiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,uBAAe,SAAS;gBACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,QAAQ;IAK1D,SAAS,CAAC,KAAK,EAAE,MAAM,CAAA;IAEvB,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE/B,QAAQ,CAAC,QAAQ,IAAI,MAAM;CAC5B;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
package/dist/ApiConfig.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiConfig.d.ts","sourceRoot":"","sources":["../src/ApiConfig.ts"],"names":[],"mappings":"AAAA,UAAU,SAAS;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiEndpoint.d.ts","sourceRoot":"","sources":["../src/ApiEndpoint.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,cAAM,WAAW,CAAC,CAAC;IACjB,OAAO,CAAC,MAAM,CAAW;IACzB,OAAO,CAAC,IAAI,CAAQ;gBAER,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM;IAK3C,OAAO,KAAK,OAAO,GAElB;IAED,OAAO,KAAK,GAAG,GAEd;IAED,OAAO,CAAC,MAAM,CAAC,CAAG;IAElB,IAAW,KAAK,kBAEf;IAEY,GAAG;IAIH,KAAK;IAUL,MAAM,CAAC,KAAK,EAAE,CAAC;CAS7B;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
package/dist/ApiStage.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiStage.d.ts","sourceRoot":"","sources":["../src/ApiStage.ts"],"names":[],"mappings":"AAAA,aAAK,QAAQ;IACX,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
package/dist/BigNumber.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BigNumber.d.ts","sourceRoot":"","sources":["../src/BigNumber.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,OAAO,CAAA;AAE7B,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
package/dist/EthAddress.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EthAddress.d.ts","sourceRoot":"","sources":["../src/EthAddress.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAGvC,eAAO,MAAM,YAAY,QAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,YAAkC,CAAA;AAEpF,cAAM,UAAU;IACP,IAAI,SAAkB;IAE7B,OAAO,CAAC,OAAO,CAAW;IAE1B,MAAM,CAAC,IAAI,SAAe;IAE1B,OAAO;IAIA,MAAM,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO;IAa5D,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,IAAI,SAAK;IAO3C,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM;IAMnC,WAAW;IAIX,QAAQ;IAIR,iBAAiB;IAIjB,MAAM,IAAI,MAAM;IAIhB,KAAK;IAIL,aAAa,CAAC,MAAM,SAAI;CAMhC;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
package/dist/Log.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Log.d.ts","sourceRoot":"","sources":["../src/Log.ts"],"names":[],"mappings":"AAEA,UAAU,SAAS;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC;AAED,cAAM,GAAG;IACP,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,OAAO,CAAC,OAAO,CAAC,CAAS;gBAEb,MAAM,EAAE,SAAS;IA6BtB,KAAK,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;IAQtB,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;IAQrB,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;IAOrB,KAAK,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;IAOtB,GAAG,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CAK5B;AAED,OAAO,EAAE,GAAG,EAAE,CAAA"}
|
package/dist/Override.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Override.d.ts","sourceRoot":"","sources":["../src/Override.ts"],"names":[],"mappings":"AAAA,aAAK,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,CAAA;AAE/C,YAAY,EAAE,QAAQ,EAAE,CAAA"}
|
package/dist/assertEx.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assertEx.d.ts","sourceRoot":"","sources":["../src/assertEx.ts"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH,QAAA,MAAM,QAAQ,qEAGb,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
package/dist/delay.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delay.d.ts","sourceRoot":"","sources":["../src/delay.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,KAAK,OAAQ,MAAM,qBAExB,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getApiStage.d.ts","sourceRoot":"","sources":["../src/getApiStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,QAAA,MAAM,WAAW,aAAc,MAAM,aAQpC,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,OAAO,CAAA;AACrB,cAAc,YAAY,CAAA"}
|
package/dist/padHex.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"padHex.d.ts","sourceRoot":"","sources":["../src/padHex.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,QAAS,MAAM,2CAW1B,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
|