@sentio/sdk 3.9.0-rc.6 → 3.9.0-rc.8

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,4 +1,4 @@
1
- import { TimeOrBlock } from 'eth/bind-options.js';
1
+ import { TimeOrBlock } from '../eth/bind-options.js';
2
2
  import { JsonRpcProvider } from 'ethers';
3
3
  export declare function estimateBlockNumberAtDate(provider: JsonRpcProvider, targetDate: Date, startBlock?: number): Promise<number | undefined>;
4
4
  export declare function estimateBlockNumberAtDateSlow(provider: JsonRpcProvider, targetDate: Date, startBlock?: number): Promise<number | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../src/utils/block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAS,eAAe,EAAe,MAAM,QAAQ,CAAA;AAU5D,wBAAsB,yBAAyB,CAC7C,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,IAAI,EAChB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CA+B7B;AAED,wBAAsB,6BAA6B,CACjD,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,IAAI,EAChB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CA+B7B;AAED,wBAAsB,wBAAwB,CAAC,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAYnH"}
1
+ {"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../src/utils/block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAS,eAAe,EAAe,MAAM,QAAQ,CAAA;AAU5D,wBAAsB,yBAAyB,CAC7C,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,IAAI,EAChB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CA+B7B;AAED,wBAAsB,6BAA6B,CACjD,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,IAAI,EAChB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CA+B7B;AAED,wBAAsB,wBAAwB,CAAC,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAYnH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/sdk",
3
- "version": "3.9.0-rc.6",
3
+ "version": "3.9.0-rc.8",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -81,7 +81,7 @@
81
81
  "chalk": "^5.3.0",
82
82
  "csv-parse": "^6.0.0",
83
83
  "ethers": "npm:@sentio/ethers@6.13.1-patch.6",
84
- "fuels": "^0.102.0",
84
+ "fuels": "^0.103.0",
85
85
  "got": "^14.4.7",
86
86
  "graphql": "^16.11.0",
87
87
  "js-sha3": "^0.9.3",
@@ -100,8 +100,8 @@
100
100
  "typechain": "^8.3.2",
101
101
  "utility-types": "^3.11.0",
102
102
  "yaml": "^2.3.4",
103
- "@sentio/runtime": "^3.9.0-rc.6",
104
- "@sentio/protos": "3.9.0-rc.6"
103
+ "@sentio/protos": "3.9.0-rc.8",
104
+ "@sentio/runtime": "^3.9.0-rc.8"
105
105
  },
106
106
  "peerDependencies": {
107
107
  "@sentio/tsup": "^8.3.5-rc.1"
@@ -135,7 +135,7 @@
135
135
  "gen:sui": "cp node_modules/@typemove/sui/src/abis/*.json src/sui/abis && tsx src/sui/codegen/run.ts src/sui/abis src/sui/builtin && pnpm gen:sui_test",
136
136
  "gen:sui_test": "tsx src/sui/codegen/run.ts src/sui/tests/abis src/sui/tests/types",
137
137
  "sync_sui_to_iota": "tsx sync-sui-to-iota.ts",
138
- "test": "glob -c 'tsx --test' '**/*.test.ts'",
139
- "test:db": "glob -c 'tsx --test' 'src/store/tests/database.test.ts'"
138
+ "test": "tsx --test 'src/**/*.test.ts'",
139
+ "test:db": "tsx --test 'src/store/tests/database.test.ts'"
140
140
  }
141
141
  }
@@ -1,4 +1,4 @@
1
- import { TimeOrBlock } from 'eth/bind-options.js'
1
+ import { TimeOrBlock } from '../eth/bind-options.js'
2
2
  import { Block, JsonRpcProvider, EthersError } from 'ethers'
3
3
 
4
4
  async function getBlockSafely(provider: JsonRpcProvider, blockNumber: number | string): Promise<Block> {