@startbahn/startrail-sdk-js 1.26.0 → 1.27.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startbahn/startrail-sdk-js",
3
- "version": "1.26.0",
3
+ "version": "1.27.1",
4
4
  "description": "Startrail Api for JS SDK",
5
5
  "main": "dist/startrail-sdk.js",
6
6
  "unpkg": "dist/startrail-sdk.js",
@@ -29,7 +29,11 @@
29
29
  "license": "UNLICENSED",
30
30
  "devDependencies": {
31
31
  "@babel/runtime": "^7.8.4",
32
+ "@ethersproject/bignumber": "^5.6.0",
33
+ "@ethersproject/strings": "^5.6.0",
32
34
  "@metamask/detect-provider": "^1.2.0",
35
+ "@types/ethereumjs-util": "^6.1.0",
36
+ "@types/flat": "^5.0.2",
33
37
  "@types/jest": "^24.9.0",
34
38
  "@types/node": "^12.12.25",
35
39
  "@types/web3": "^1.2.2",
@@ -42,7 +46,8 @@
42
46
  "eslint-plugin-node": "^10.0.0",
43
47
  "eslint-plugin-promise": "^4.2.1",
44
48
  "eslint-plugin-standard": "^4.0.1",
45
- "ethers": "^5.1.3",
49
+ "ethereumjs-util": "^7.1.4",
50
+ "flat": "^5.0.2",
46
51
  "husky": "^7.0.0",
47
52
  "jest": "^25.1.0",
48
53
  "ts-jest": "^25.0.0",
@@ -132,9 +132,6 @@ declare module '@startbahn/startrail-sdk-js/types' {
132
132
  metadata: HistoryMetadata;
133
133
  hashFlag: boolean;
134
134
  }
135
- export interface BulkTransferFromWithProvenance extends Pick<HTTPHeadersForStartrailLUW, 'startrailLUWContractAddress'> {
136
- txs: TransferFromWithProvenanceShared[];
137
- }
138
135
  export enum BulkFunctionType {
139
136
  createSRR = "createSRR",
140
137
  approveSRRByCommitment = "approveSRRByCommitment",
@@ -143,6 +140,7 @@ declare module '@startbahn/startrail-sdk-js/types' {
143
140
  interface CommonInit {
144
141
  apiPath?: string;
145
142
  env?: StartrailEnv;
143
+ rpcEndpoint?: string;
146
144
  }
147
145
  export interface ConvertMetadata {
148
146
  metadataBatch: {
@@ -980,16 +978,19 @@ declare module '@startbahn/startrail-sdk-js/constant' {
980
978
  };
981
979
  export const ETHEREUM_NETWORK: {
982
980
  PROD: {
983
- host: string;
981
+ rpc: string;
984
982
  chainId: number;
983
+ name: string;
985
984
  };
986
985
  DEV: {
987
- host: string;
986
+ rpc: string;
988
987
  chainId: number;
988
+ name: string;
989
989
  };
990
990
  LOCAL: {
991
- host: string;
991
+ rpc: string;
992
992
  chainId: number;
993
+ name: string;
993
994
  };
994
995
  };
995
996
  export const LANG: {