@plutonlabs/sdk 0.0.45-beta → 0.0.47-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.
@@ -1 +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,GAAI,UAAU,QAAQ,cAarD,CAAC"}
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,cAerD,CAAC"}
@@ -11,7 +11,9 @@ const coinTypeToChainType = (coinType) => {
11
11
  if (coinType == 60 ||
12
12
  coinType == 8453 ||
13
13
  coinType == 9001 ||
14
- coinType == 5000) {
14
+ coinType == 5000 ||
15
+ coinType == 714 ||
16
+ coinType == 10007) {
15
17
  return ChainType.EVM_BASE;
16
18
  }
17
19
  else if (coinType == 607) {
@@ -1 +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"}
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;QAChB,QAAQ,IAAI,GAAG;QACf,QAAQ,IAAI,KAAK,EACjB,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;AAfW,QAAA,mBAAmB,uBAe9B"}
@@ -3,6 +3,8 @@ export declare enum CoinType {
3
3
  TON = 607,
4
4
  ARBITRUM = 9001,
5
5
  BASE = 8453,
6
- MANTLE = 5000
6
+ MANTLE = 5000,
7
+ BNB = 714,
8
+ SONIC = 10007
7
9
  }
8
10
  //# sourceMappingURL=coin_type.enum.d.ts.map
@@ -1 +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"}
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;IACb,GAAG,MAAM;IACT,KAAK,QAAQ;CACd"}
@@ -8,5 +8,7 @@ var CoinType;
8
8
  CoinType[CoinType["ARBITRUM"] = 9001] = "ARBITRUM";
9
9
  CoinType[CoinType["BASE"] = 8453] = "BASE";
10
10
  CoinType[CoinType["MANTLE"] = 5000] = "MANTLE";
11
+ CoinType[CoinType["BNB"] = 714] = "BNB";
12
+ CoinType[CoinType["SONIC"] = 10007] = "SONIC";
11
13
  })(CoinType || (exports.CoinType = CoinType = {}));
12
14
  //# sourceMappingURL=coin_type.enum.js.map
@@ -1 +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
+ {"version":3,"file":"coin_type.enum.js","sourceRoot":"","sources":["../../../src/common/enums/coin_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAQX;AARD,WAAY,QAAQ;IAClB,gDAAa,CAAA;IACb,uCAAS,CAAA;IACT,kDAAe,CAAA;IACf,0CAAW,CAAA;IACX,8CAAa,CAAA;IACb,uCAAS,CAAA;IACT,6CAAa,CAAA;AACf,CAAC,EARW,QAAQ,wBAAR,QAAQ,QAQnB"}
@@ -1,4 +1,3 @@
1
1
  export * from './enums';
2
- export * from './enums';
3
2
  export * from './utils';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -15,6 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./enums"), exports);
18
- __exportStar(require("./enums"), exports);
19
18
  __exportStar(require("./utils"), exports);
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,3 @@
1
1
  export * from './common';
2
2
  export * from './modules';
3
- import NETWORKS from './seed/networks_seed.json';
4
- import TOKENS from './seed/tokens_seed.json';
5
- import PLUTON_CONTRACTS from './seed/pluton_contracts_seed.json';
6
- export { NETWORKS, TOKENS, PLUTON_CONTRACTS };
7
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,OAAO,QAAQ,MAAM,2BAA2B,CAAC;AACjD,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,gBAAgB,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
package/dist/index.js CHANGED
@@ -13,17 +13,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
13
13
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
- var __importDefault = (this && this.__importDefault) || function (mod) {
17
- return (mod && mod.__esModule) ? mod : { "default": mod };
18
- };
19
16
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.PLUTON_CONTRACTS = exports.TOKENS = exports.NETWORKS = void 0;
21
17
  __exportStar(require("./common"), exports);
22
18
  __exportStar(require("./modules"), exports);
23
- const networks_seed_json_1 = __importDefault(require("./seed/networks_seed.json"));
24
- exports.NETWORKS = networks_seed_json_1.default;
25
- const tokens_seed_json_1 = __importDefault(require("./seed/tokens_seed.json"));
26
- exports.TOKENS = tokens_seed_json_1.default;
27
- const pluton_contracts_seed_json_1 = __importDefault(require("./seed/pluton_contracts_seed.json"));
28
- exports.PLUTON_CONTRACTS = pluton_contracts_seed_json_1.default;
29
19
  //# 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,2CAAyB;AACzB,4CAA0B;AAC1B,mFAAiD;AAGxC,mBAHF,4BAAQ,CAGE;AAFjB,+EAA6C;AAE1B,iBAFZ,0BAAM,CAEY;AADzB,mGAAiE;AACtC,2BADpB,oCAAgB,CACoB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B"}
@@ -1,6 +1,4 @@
1
1
  export * from './network.dto';
2
- export * from './network.update.dto';
3
2
  export * from './network_provider.dto';
4
- export * from './network_provider.update.dto';
5
3
  export * from './network_tokens_view.dto';
6
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC"}
@@ -15,8 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./network.dto"), exports);
18
- __exportStar(require("./network.update.dto"), exports);
19
18
  __exportStar(require("./network_provider.dto"), exports);
20
- __exportStar(require("./network_provider.update.dto"), exports);
21
19
  __exportStar(require("./network_tokens_view.dto"), exports);
22
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,uDAAqC;AACrC,yDAAuC;AACvC,gEAA8C;AAC9C,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,yDAAuC;AACvC,4DAA0C"}
@@ -1,11 +1,11 @@
1
- import { TransactionRequest } from 'ethers';
2
- export declare class QuoteSelectedIntentsResponseDto {
3
- /**
4
- * @description Example description of the response data
5
- * @example { "exampleKey": "exampleValue" }
6
- */
7
- transaction: {
8
- pluton: TransactionRequest;
9
- };
10
- }
1
+ import { TransactionRequest } from 'ethers';
2
+ export declare class QuoteSelectedIntentsResponseDto {
3
+ /**
4
+ * @description Example description of the response data
5
+ * @example { "exampleKey": "exampleValue" }
6
+ */
7
+ transaction: {
8
+ pluton: TransactionRequest;
9
+ };
10
+ }
11
11
  //# sourceMappingURL=quote_selected_intents_resposne.dto%20copy.d.ts.map
@@ -1,7 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QuoteSelectedIntentsResponseDto = void 0;
4
- class QuoteSelectedIntentsResponseDto {
5
- }
6
- exports.QuoteSelectedIntentsResponseDto = QuoteSelectedIntentsResponseDto;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteSelectedIntentsResponseDto = void 0;
4
+ class QuoteSelectedIntentsResponseDto {
5
+ }
6
+ exports.QuoteSelectedIntentsResponseDto = QuoteSelectedIntentsResponseDto;
7
7
  //# sourceMappingURL=quote_selected_intents_resposne.dto%20copy.js.map
@@ -1,4 +1,3 @@
1
1
  export * from './token.dto';
2
- export * from './token.update.dto';
3
2
  export * from './token.find.dto';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC"}
@@ -15,6 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./token.dto"), exports);
18
- __exportStar(require("./token.update.dto"), exports);
19
18
  __exportStar(require("./token.find.dto"), exports);
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,qDAAmC;AACnC,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,mDAAiC"}
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "name": "@plutonlabs/sdk",
3
- "version": "0.0.45-beta",
4
- "main": "dist/index.js",
5
- "types": "dist/index.d.ts",
6
- "files": [
7
- "dist"
8
- ],
9
- "scripts": {
10
- "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
11
- "build": "tsc"
12
- },
13
- "keywords": [],
14
- "author": "",
15
- "license": "ISC",
16
- "description": "",
17
- "devDependencies": {
18
- "eslint": "^8.57.1",
19
- "prettier": "^3.5.0",
20
- "typescript": "^5.7.3"
21
- },
22
- "dependencies": {
23
- "class-transformer": "^0.5.1",
24
- "class-validator": "^0.14.1",
25
- "ethers": "^6.13.5"
26
- }
27
- }
1
+ {
2
+ "name": "@plutonlabs/sdk",
3
+ "version": "0.0.47-beta",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "scripts": {
10
+ "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
11
+ "build": "tsc"
12
+ },
13
+ "keywords": [],
14
+ "author": "",
15
+ "license": "ISC",
16
+ "description": "",
17
+ "devDependencies": {
18
+ "eslint": "^8.57.1",
19
+ "prettier": "^3.5.0",
20
+ "typescript": "^5.7.3"
21
+ },
22
+ "dependencies": {
23
+ "class-transformer": "^0.5.1",
24
+ "class-validator": "^0.14.1",
25
+ "ethers": "^6.13.5"
26
+ }
27
+ }