@plutonlabs/sdk 0.0.17-beta → 0.0.19-beta

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.
@@ -0,0 +1,8 @@
1
+ import { CoinType } from './coin_type.enum';
2
+ export declare enum ChainType {
3
+ NONE = "none",
4
+ EVM_BASE = "evm_base",
5
+ TON_BASE = "ton_base"
6
+ }
7
+ export declare const coinTypeToChainType: (coinType: CoinType) => ChainType;
8
+ //# sourceMappingURL=chain_type.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chain_type.enum.d.ts","sourceRoot":"","sources":["../../../src/common/enums/chain_type.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,mBAAmB,aAAc,QAAQ,cAarD,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chain_type.enum.js","sourceRoot":"","sources":["../../../src/common/enums/chain_type.enum.ts"],"names":[],"mappings":";;;AAEA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;AACvB,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAEM,MAAM,mBAAmB,GAAG,CAAC,QAAkB,EAAE,EAAE;IACxD,IACE,QAAQ,IAAI,EAAE;QACd,QAAQ,IAAI,IAAI;QAChB,QAAQ,IAAI,IAAI;QAChB,QAAQ,IAAI,IAAI,EAChB,CAAC;QACD,OAAO,SAAS,CAAC,QAAQ,CAAC;IAC5B,CAAC;SAAM,IAAI,QAAQ,IAAI,GAAG,EAAE,CAAC;QAC3B,OAAO,SAAS,CAAC,QAAQ,CAAC;IAC5B,CAAC;SAAM,CAAC;QACN,OAAO,SAAS,CAAC,IAAI,CAAC;IACxB,CAAC;AACH,CAAC,CAAC;AAbW,QAAA,mBAAmB,uBAa9B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coin_type.enum.d.ts","sourceRoot":"","sources":["../../../src/common/enums/coin_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,QAAQ,KAAK;IACb,GAAG,MAAM;IACT,QAAQ,OAAO;IACf,IAAI,OAAO;IACX,MAAM,OAAO;CACd"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coin_type.enum.js","sourceRoot":"","sources":["../../../src/common/enums/coin_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,gDAAa,CAAA;IACb,uCAAS,CAAA;IACT,kDAAe,CAAA;IACf,0CAAW,CAAA;IACX,8CAAa,CAAA;AACf,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB"}
@@ -1,3 +1,5 @@
1
1
  export * from './calc_mode.enum';
2
2
  export * from './intent_type.enum';
3
+ export * from './coin_type.enum';
4
+ export * from './chain_type.enum';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
@@ -16,4 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./calc_mode.enum"), exports);
18
18
  __exportStar(require("./intent_type.enum"), exports);
19
+ __exportStar(require("./coin_type.enum"), exports);
20
+ __exportStar(require("./chain_type.enum"), exports);
19
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC"}
@@ -1,4 +1,2 @@
1
1
  export * from './provider_protocol_type.enum';
2
- export * from './coin_type.enum';
3
- export * from './chain_type.enum';
4
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
@@ -15,6 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./provider_protocol_type.enum"), exports);
18
- __exportStar(require("./coin_type.enum"), exports);
19
- __exportStar(require("./chain_type.enum"), exports);
20
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,mDAAiC;AACjC,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C"}
@@ -104,8 +104,8 @@
104
104
  "address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
105
105
  "decimals": 18,
106
106
  "img": "https://cryptologos.cc/logos/ethereum-eth-logo.svg",
107
- "coinType": 8453,
108
- "chainId": 8453,
107
+ "coinType": 5000,
108
+ "chainId": 5000,
109
109
  "isNative": true,
110
110
  "isBase": false
111
111
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plutonlabs/sdk",
3
- "version": "0.0.17-beta",
3
+ "version": "0.0.19-beta",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -1,9 +0,0 @@
1
- import { CoinType } from './coin_type.enum';
2
- declare enum ChainType {
3
- NONE = "none",
4
- EVM_BASE = "evm_base",
5
- TON_BASE = "ton_base"
6
- }
7
- declare const coinTypeToChainType: (coinType: CoinType) => ChainType;
8
- export { ChainType, coinTypeToChainType };
9
- //# sourceMappingURL=chain_type.enum.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chain_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/chain_type.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,aAAK,SAAS;IACZ,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,QAAA,MAAM,mBAAmB,aAAc,QAAQ,cAa9C,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"chain_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/chain_type.enum.ts"],"names":[],"mappings":";;;AAEA,IAAK,SAIJ;AAJD,WAAK,SAAS;IACZ,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;AACvB,CAAC,EAJI,SAAS,yBAAT,SAAS,QAIb;AAED,MAAM,mBAAmB,GAAG,CAAC,QAAkB,EAAE,EAAE;IACjD,IACE,QAAQ,IAAI,EAAE;QACd,QAAQ,IAAI,IAAI;QAChB,QAAQ,IAAI,IAAI;QAChB,QAAQ,IAAI,IAAI,EAChB,CAAC;QACD,OAAO,SAAS,CAAC,QAAQ,CAAC;IAC5B,CAAC;SAAM,IAAI,QAAQ,IAAI,GAAG,EAAE,CAAC;QAC3B,OAAO,SAAS,CAAC,QAAQ,CAAC;IAC5B,CAAC;SAAM,CAAC;QACN,OAAO,SAAS,CAAC,IAAI,CAAC;IACxB,CAAC;AACH,CAAC,CAAC;AAEkB,kDAAmB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"coin_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/coin_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,QAAQ,KAAK;IACb,GAAG,MAAM;IACT,QAAQ,OAAO;IACf,IAAI,OAAO;IACX,MAAM,OAAO;CACd"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"coin_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/coin_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,gDAAa,CAAA;IACb,uCAAS,CAAA;IACT,kDAAe,CAAA;IACf,0CAAW,CAAA;IACX,8CAAa,CAAA;AACf,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB"}