@koralabs/kora-labs-common 4.0.11 → 4.0.13
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/constants/index.d.ts +1 -1
- package/constants/index.js +2 -2
- package/package.json +2 -2
- package/types/index.d.ts +3 -3
- package/types/index.js +3 -3
package/constants/index.d.ts
CHANGED
package/constants/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a, _b;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AUTH_GRANT_DURATION = exports.
|
|
5
|
-
exports.IS_PRODUCTION = ((_a = process.env.NODE_ENV) === null || _a === void 0 ? void 0 : _a.trim()) === 'production' && ((_b = process.env.NETWORK) === null || _b === void 0 ? void 0 : _b.toLowerCase()) == 'mainnet';
|
|
4
|
+
exports.AUTH_GRANT_DURATION = exports.IS_PRODUCTION = exports.IS_SERVER = void 0;
|
|
6
5
|
exports.IS_SERVER = (typeof process !== 'undefined') && (typeof process.versions.node !== 'undefined');
|
|
6
|
+
exports.IS_PRODUCTION = exports.IS_SERVER ? (((_a = process.env.NODE_ENV) === null || _a === void 0 ? void 0 : _a.trim()) === 'production' && ((_b = process.env.NETWORK) === null || _b === void 0 ? void 0 : _b.toLowerCase()) == 'mainnet') : !(window.location.host.includes('preview.') || window.location.host.includes('preprod.'));
|
|
7
7
|
exports.AUTH_GRANT_DURATION = 1000 * 60 * 60 * 24 * 30; // 30 days
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koralabs/kora-labs-common",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.13",
|
|
4
4
|
"description": "Kora Labs Common Utilities",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -44,4 +44,4 @@
|
|
|
44
44
|
"cbor": "^9.0.2",
|
|
45
45
|
"pluralize": "^8.0.0"
|
|
46
46
|
}
|
|
47
|
-
}
|
|
47
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -14,10 +14,10 @@ export interface KeyPair {
|
|
|
14
14
|
export declare enum AssetNameLabel {
|
|
15
15
|
LBL_000 = "00000000",
|
|
16
16
|
LBL_001 = "00001070",
|
|
17
|
-
LBL_002 = "
|
|
18
|
-
LBL_100 = "
|
|
17
|
+
LBL_002 = "000020e0",
|
|
18
|
+
LBL_100 = "000643b0",
|
|
19
19
|
LBL_222 = "000de140",
|
|
20
|
-
LBL_444 = "
|
|
20
|
+
LBL_444 = "001bc280"
|
|
21
21
|
}
|
|
22
22
|
export declare enum CardanoNetwork {
|
|
23
23
|
MAINNET = "MAINNET",
|
package/types/index.js
CHANGED
|
@@ -11,10 +11,10 @@ var AssetNameLabel;
|
|
|
11
11
|
(function (AssetNameLabel) {
|
|
12
12
|
AssetNameLabel["LBL_000"] = "00000000";
|
|
13
13
|
AssetNameLabel["LBL_001"] = "00001070";
|
|
14
|
-
AssetNameLabel["LBL_002"] = "
|
|
15
|
-
AssetNameLabel["LBL_100"] = "
|
|
14
|
+
AssetNameLabel["LBL_002"] = "000020e0";
|
|
15
|
+
AssetNameLabel["LBL_100"] = "000643b0";
|
|
16
16
|
AssetNameLabel["LBL_222"] = "000de140";
|
|
17
|
-
AssetNameLabel["LBL_444"] = "
|
|
17
|
+
AssetNameLabel["LBL_444"] = "001bc280";
|
|
18
18
|
})(AssetNameLabel = exports.AssetNameLabel || (exports.AssetNameLabel = {}));
|
|
19
19
|
var CardanoNetwork;
|
|
20
20
|
(function (CardanoNetwork) {
|