@appliedblockchain/silentdatarollup-ethers-provider-fireblocks 1.0.7 → 1.0.9

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Applied Blockchain Ltd.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Silent Data [Rollup] Providers - Ethers Provider Fireblocks Package
1
+ # Silent Data Providers - Ethers Provider Fireblocks Package
2
2
 
3
3
  ## Table of Contents
4
4
 
@@ -14,12 +14,12 @@
14
14
 
15
15
  ## Introduction
16
16
 
17
- Custom providers for Silent Data [Rollup], compatible with ethers.js for Fireblocks integration.
17
+ Custom providers for Silent Data, compatible with ethers.js for Fireblocks integration.
18
18
 
19
19
  ## Prerequisites
20
20
 
21
21
  - Node.js (version 18 or higher)
22
- - npm
22
+ - pnpm
23
23
  - Basic knowledge of Ethereum and smart contracts
24
24
  - Ethers.js v6
25
25
 
@@ -30,7 +30,7 @@ Custom providers for Silent Data [Rollup], compatible with ethers.js for Fireblo
30
30
  #### Installing Fireblocks Integration Dependencies
31
31
 
32
32
  ```bash
33
- npm install @appliedblockchain/silentdatarollup-core @appliedblockchain/silentdatarollup-ethers-provider-fireblocks ethers@6 @fireblocks/fireblocks-web3-provider
33
+ pnpm add @appliedblockchain/silentdatarollup-core @appliedblockchain/silentdatarollup-ethers-provider-fireblocks ethers@6 @fireblocks/fireblocks-web3-provider
34
34
  ```
35
35
 
36
36
  #### Fireblocks Integration Example
@@ -99,7 +99,7 @@ To enable debugging for the SilentData interceptor, you can set the following en
99
99
  DEBUG=fireblocks:web3-provider:silentdata-interceptor
100
100
  ```
101
101
 
102
- This will output debug information specific to the SilentData interceptor, helping you troubleshoot issues related to the Silent Data [Rollup] integration with Fireblocks.
102
+ This will output debug information specific to the SilentData interceptor, helping you troubleshoot issues related to the Silent Data integration with Fireblocks.
103
103
 
104
104
  ## Troubleshooting
105
105
 
@@ -115,7 +115,7 @@ This project is licensed under the [MIT License](LICENSE).
115
115
 
116
116
  ## Additional Resources
117
117
 
118
- - [Silent Data [Rollup] Documentation](https://docs.silentdata.com)
118
+ - [Silent Data Documentation](https://docs.silentdata.com)
119
119
  - [Ethers.js Documentation](https://docs.ethers.org/v6/)
120
120
  - [Fireblocks Developer Documentation](https://developers.fireblocks.com/api)
121
121
  - [Fireblocks Web3 Provider](https://developers.fireblocks.com/reference/evm-web3-provider)
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { BaseConfig } from '@appliedblockchain/silentdatarollup-core';
2
1
  import { BrowserProvider, Eip1193Provider, Networkish, BrowserProviderOptions } from 'ethers';
2
+ import { BaseConfig } from '@appliedblockchain/silentdatarollup-core';
3
3
 
4
4
  declare const DEBUG_NAMESPACE_SILENTDATA_INTERCEPTOR = "fireblocks-web3-provider:silentdata-interceptor";
5
5
  declare const EIP712Domain: {
@@ -7,6 +7,14 @@ declare const EIP712Domain: {
7
7
  type: string;
8
8
  }[];
9
9
 
10
+ interface FireblocksProviderConfig extends BaseConfig {
11
+ /**
12
+ * When set to true, eth_call requests will be signed
13
+ * with authentication headers, regardless of whether they match signable contracts
14
+ */
15
+ alwaysSignEthCalls?: boolean;
16
+ }
17
+
10
18
  declare class SilentDataRollupFireblocksProvider extends BrowserProvider {
11
19
  private lastNonce;
12
20
  private ethereum;
@@ -18,7 +26,7 @@ declare class SilentDataRollupFireblocksProvider extends BrowserProvider {
18
26
  ethereum: Eip1193Provider;
19
27
  network?: Networkish;
20
28
  options?: BrowserProviderOptions;
21
- config?: BaseConfig;
29
+ config?: FireblocksProviderConfig;
22
30
  });
23
31
  /**
24
32
  * Manages and returns the next available nonce for a given address.
@@ -66,4 +74,4 @@ declare class SilentDataRollupFireblocksProvider extends BrowserProvider {
66
74
  clone(): SilentDataRollupFireblocksProvider;
67
75
  }
68
76
 
69
- export { DEBUG_NAMESPACE_SILENTDATA_INTERCEPTOR, EIP712Domain, SilentDataRollupFireblocksProvider };
77
+ export { DEBUG_NAMESPACE_SILENTDATA_INTERCEPTOR, EIP712Domain, type FireblocksProviderConfig, SilentDataRollupFireblocksProvider };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { BaseConfig } from '@appliedblockchain/silentdatarollup-core';
2
1
  import { BrowserProvider, Eip1193Provider, Networkish, BrowserProviderOptions } from 'ethers';
2
+ import { BaseConfig } from '@appliedblockchain/silentdatarollup-core';
3
3
 
4
4
  declare const DEBUG_NAMESPACE_SILENTDATA_INTERCEPTOR = "fireblocks-web3-provider:silentdata-interceptor";
5
5
  declare const EIP712Domain: {
@@ -7,6 +7,14 @@ declare const EIP712Domain: {
7
7
  type: string;
8
8
  }[];
9
9
 
10
+ interface FireblocksProviderConfig extends BaseConfig {
11
+ /**
12
+ * When set to true, eth_call requests will be signed
13
+ * with authentication headers, regardless of whether they match signable contracts
14
+ */
15
+ alwaysSignEthCalls?: boolean;
16
+ }
17
+
10
18
  declare class SilentDataRollupFireblocksProvider extends BrowserProvider {
11
19
  private lastNonce;
12
20
  private ethereum;
@@ -18,7 +26,7 @@ declare class SilentDataRollupFireblocksProvider extends BrowserProvider {
18
26
  ethereum: Eip1193Provider;
19
27
  network?: Networkish;
20
28
  options?: BrowserProviderOptions;
21
- config?: BaseConfig;
29
+ config?: FireblocksProviderConfig;
22
30
  });
23
31
  /**
24
32
  * Manages and returns the next available nonce for a given address.
@@ -66,4 +74,4 @@ declare class SilentDataRollupFireblocksProvider extends BrowserProvider {
66
74
  clone(): SilentDataRollupFireblocksProvider;
67
75
  }
68
76
 
69
- export { DEBUG_NAMESPACE_SILENTDATA_INTERCEPTOR, EIP712Domain, SilentDataRollupFireblocksProvider };
77
+ export { DEBUG_NAMESPACE_SILENTDATA_INTERCEPTOR, EIP712Domain, type FireblocksProviderConfig, SilentDataRollupFireblocksProvider };