@plutonlabs/sdk 0.0.46-beta → 0.0.48-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"}
@@ -2,6 +2,7 @@ export declare enum ProviderProtocolType {
2
2
  JSON_RPC = 1,
3
3
  WEBSOCKET = 2,
4
4
  TON_CENTER_V2 = 3,
5
- TON_CENTER_V3 = 4
5
+ TON_CENTER_V3 = 4,
6
+ TON_API_V1 = 5
6
7
  }
7
8
  //# sourceMappingURL=provider_protocol_type.enum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider_protocol_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/provider_protocol_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,QAAQ,IAAI;IACZ,SAAS,IAAA;IACT,aAAa,IAAA;IACb,aAAa,IAAA;CACd"}
1
+ {"version":3,"file":"provider_protocol_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/provider_protocol_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,QAAQ,IAAI;IACZ,SAAS,IAAA;IACT,aAAa,IAAA;IACb,aAAa,IAAA;IACb,UAAU,IAAA;CACX"}
@@ -7,5 +7,6 @@ var ProviderProtocolType;
7
7
  ProviderProtocolType[ProviderProtocolType["WEBSOCKET"] = 2] = "WEBSOCKET";
8
8
  ProviderProtocolType[ProviderProtocolType["TON_CENTER_V2"] = 3] = "TON_CENTER_V2";
9
9
  ProviderProtocolType[ProviderProtocolType["TON_CENTER_V3"] = 4] = "TON_CENTER_V3";
10
+ ProviderProtocolType[ProviderProtocolType["TON_API_V1"] = 5] = "TON_API_V1";
10
11
  })(ProviderProtocolType || (exports.ProviderProtocolType = ProviderProtocolType = {}));
11
12
  //# sourceMappingURL=provider_protocol_type.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider_protocol_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/provider_protocol_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uEAAY,CAAA;IACZ,yEAAS,CAAA;IACT,iFAAa,CAAA;IACb,iFAAa,CAAA;AACf,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B"}
1
+ {"version":3,"file":"provider_protocol_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/provider_protocol_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,uEAAY,CAAA;IACZ,yEAAS,CAAA;IACT,iFAAa,CAAA;IACb,iFAAa,CAAA;IACb,2EAAU,CAAA;AACZ,CAAC,EANW,oBAAoB,oCAApB,oBAAoB,QAM/B"}
@@ -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
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "name": "@plutonlabs/sdk",
3
- "version": "0.0.46-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.48-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
+ }