@keplr-wallet/types 0.12.313 → 0.13.1
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/build/ethereum.d.ts +5 -0
- package/build/ethereum.js +7 -1
- package/build/ethereum.js.map +1 -1
- package/build/index.d.ts +2 -0
- package/build/index.js +2 -0
- package/build/index.js.map +1 -1
- package/build/json-rpc.d.ts +11 -0
- package/build/json-rpc.js +3 -0
- package/build/json-rpc.js.map +1 -0
- package/build/swap.d.ts +7 -0
- package/build/swap.js +12 -0
- package/build/swap.js.map +1 -0
- package/package.json +2 -2
- package/src/ethereum.ts +6 -0
- package/src/index.ts +2 -0
- package/src/json-rpc.ts +12 -0
- package/src/swap.ts +7 -0
package/build/ethereum.d.ts
CHANGED
|
@@ -46,3 +46,8 @@ export interface EthereumSignResponse {
|
|
|
46
46
|
signingData: Uint8Array;
|
|
47
47
|
signature: Uint8Array;
|
|
48
48
|
}
|
|
49
|
+
export declare enum EvmGasSimulationOutcome {
|
|
50
|
+
TX_SIMULATED = "tx-simulated",
|
|
51
|
+
TX_BUNDLE_SIMULATED = "tx-bundle-simulated",
|
|
52
|
+
APPROVAL_ONLY_SIMULATED = "approval-only-simulated"
|
|
53
|
+
}
|
package/build/ethereum.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EthTxStatus = exports.EthSignType = void 0;
|
|
3
|
+
exports.EvmGasSimulationOutcome = exports.EthTxStatus = exports.EthSignType = void 0;
|
|
4
4
|
var EthSignType;
|
|
5
5
|
(function (EthSignType) {
|
|
6
6
|
EthSignType["MESSAGE"] = "message";
|
|
@@ -12,4 +12,10 @@ var EthTxStatus;
|
|
|
12
12
|
EthTxStatus["Success"] = "0x1";
|
|
13
13
|
EthTxStatus["Failure"] = "0x0";
|
|
14
14
|
})(EthTxStatus = exports.EthTxStatus || (exports.EthTxStatus = {}));
|
|
15
|
+
var EvmGasSimulationOutcome;
|
|
16
|
+
(function (EvmGasSimulationOutcome) {
|
|
17
|
+
EvmGasSimulationOutcome["TX_SIMULATED"] = "tx-simulated";
|
|
18
|
+
EvmGasSimulationOutcome["TX_BUNDLE_SIMULATED"] = "tx-bundle-simulated";
|
|
19
|
+
EvmGasSimulationOutcome["APPROVAL_ONLY_SIMULATED"] = "approval-only-simulated";
|
|
20
|
+
})(EvmGasSimulationOutcome = exports.EvmGasSimulationOutcome || (exports.EvmGasSimulationOutcome = {}));
|
|
15
21
|
//# sourceMappingURL=ethereum.js.map
|
package/build/ethereum.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ethereum.js","sourceRoot":"","sources":["../src/ethereum.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,0CAA2B,CAAA;IAC3B,iCAAkB,CAAA;AACpB,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAcD,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB"}
|
|
1
|
+
{"version":3,"file":"ethereum.js","sourceRoot":"","sources":["../src/ethereum.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,0CAA2B,CAAA;IAC3B,iCAAkB,CAAA;AACpB,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAcD,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAiCD,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,wDAA6B,CAAA;IAC7B,sEAA2C,CAAA;IAC3C,8EAAmD,CAAA;AACrD,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC"}
|
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
|
@@ -25,4 +25,6 @@ __exportStar(require("./cosmjs"), exports);
|
|
|
25
25
|
__exportStar(require("./cosmjs-alt"), exports);
|
|
26
26
|
__exportStar(require("./secretjs"), exports);
|
|
27
27
|
__exportStar(require("./settled"), exports);
|
|
28
|
+
__exportStar(require("./json-rpc"), exports);
|
|
29
|
+
__exportStar(require("./swap"), exports);
|
|
28
30
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,2CAAyB;AACzB,6CAA2B;AAC3B,2CAAyB;AACzB,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,2CAAyB;AACzB,6CAA2B;AAC3B,2CAAyB;AACzB,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B;AAC3B,yCAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-rpc.js","sourceRoot":"","sources":["../src/json-rpc.ts"],"names":[],"mappings":""}
|
package/build/swap.d.ts
ADDED
package/build/swap.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SwapProvider = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Swap provider enum for cross-chain swaps.
|
|
6
|
+
*/
|
|
7
|
+
var SwapProvider;
|
|
8
|
+
(function (SwapProvider) {
|
|
9
|
+
SwapProvider["SKIP"] = "skip";
|
|
10
|
+
SwapProvider["SQUID"] = "squid";
|
|
11
|
+
})(SwapProvider = exports.SwapProvider || (exports.SwapProvider = {}));
|
|
12
|
+
//# sourceMappingURL=swap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"swap.js","sourceRoot":"","sources":["../src/swap.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,+BAAe,CAAA;AACjB,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keplr-wallet/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"author": "chainapsis",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"starknet": "^8"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "005bf5131f8612e3a773b864b673361ca9d9ab85"
|
|
29
29
|
}
|
package/src/ethereum.ts
CHANGED
|
@@ -51,3 +51,9 @@ export interface EthereumSignResponse {
|
|
|
51
51
|
signingData: Uint8Array;
|
|
52
52
|
signature: Uint8Array;
|
|
53
53
|
}
|
|
54
|
+
|
|
55
|
+
export enum EvmGasSimulationOutcome {
|
|
56
|
+
TX_SIMULATED = "tx-simulated",
|
|
57
|
+
TX_BUNDLE_SIMULATED = "tx-bundle-simulated",
|
|
58
|
+
APPROVAL_ONLY_SIMULATED = "approval-only-simulated",
|
|
59
|
+
}
|
package/src/index.ts
CHANGED
package/src/json-rpc.ts
ADDED