wallaby-cash 1.7.3 → 1.7.5
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/index.cjs.js +6 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/types/common.d.ts +8 -2
- package/package.json +9 -20
package/dist/index.cjs.js
CHANGED
|
@@ -130,6 +130,9 @@ exports.BlockchainSlip44 = void 0;
|
|
|
130
130
|
BlockchainSlip44[BlockchainSlip44["ALGO"] = 283] = "ALGO";
|
|
131
131
|
BlockchainSlip44[BlockchainSlip44["AVAX"] = 9000] = "AVAX";
|
|
132
132
|
BlockchainSlip44[BlockchainSlip44["MATIC"] = 966] = "MATIC";
|
|
133
|
+
BlockchainSlip44[BlockchainSlip44["BSC"] = 519] = "BSC";
|
|
134
|
+
BlockchainSlip44[BlockchainSlip44["BASE"] = 8453] = "BASE";
|
|
135
|
+
BlockchainSlip44[BlockchainSlip44["SUI"] = 784] = "SUI";
|
|
133
136
|
})(exports.BlockchainSlip44 || (exports.BlockchainSlip44 = {}));
|
|
134
137
|
exports.BlockchainName = void 0;
|
|
135
138
|
(function (BlockchainName) {
|
|
@@ -139,6 +142,8 @@ exports.BlockchainName = void 0;
|
|
|
139
142
|
BlockchainName["Ethereum"] = "ETHEREUM";
|
|
140
143
|
BlockchainName["Polygon"] = "POLYGON";
|
|
141
144
|
BlockchainName["Bsc"] = "BSC";
|
|
145
|
+
BlockchainName["Base"] = "BASE";
|
|
146
|
+
BlockchainName["Sui"] = "SUI";
|
|
142
147
|
})(exports.BlockchainName || (exports.BlockchainName = {}));
|
|
143
148
|
exports.RequestMethod = void 0;
|
|
144
149
|
(function (RequestMethod) {
|
|
@@ -4479,7 +4484,7 @@ var _a;
|
|
|
4479
4484
|
* The default environment will be set to NODE_ENV if environment is not set in config.
|
|
4480
4485
|
* For production builds, it is recommended to set NODE_ENV to 'production'.
|
|
4481
4486
|
*/
|
|
4482
|
-
var defaultEnvironment = (_a = browser$1$1.env.NODE_ENV) !== null && _a !== void 0 ? _a : '
|
|
4487
|
+
var defaultEnvironment = (_a = browser$1$1.env.NODE_ENV) !== null && _a !== void 0 ? _a : 'production';
|
|
4483
4488
|
/**
|
|
4484
4489
|
* The default network is set to 'testnet' for protection during development.
|
|
4485
4490
|
* Please pass the network value in the WallabyConfigOptions object to override it for production-mainnet.
|
|
@@ -4806,8 +4811,6 @@ var StorageService = /** @class */ (function () {
|
|
|
4806
4811
|
switch (_a.label) {
|
|
4807
4812
|
case 0:
|
|
4808
4813
|
_a.trys.push([0, 2, , 3]);
|
|
4809
|
-
console.log('setAccessTokenKey and payload', "".concat(this.environment, "-access-token-").concat(this.userId, ": ").concat(accessToken));
|
|
4810
|
-
console.log('localStorage type', { type: typeof this.deviceStorage, storage: this.deviceStorage });
|
|
4811
4814
|
return [4 /*yield*/, this.setItem("".concat(this.environment, "-access-token-").concat(this.userId), accessToken)];
|
|
4812
4815
|
case 1:
|
|
4813
4816
|
_a.sent();
|