@stacks/network 5.0.3 → 5.0.5-pr.6430355.0

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,7 +1,7 @@
1
1
  import 'cross-fetch/polyfill';
2
2
  export declare const getFetchOptions: () => RequestInit;
3
3
  export declare const setFetchOptions: (ops: RequestInit) => RequestInit;
4
- export declare type FetchFn = (url: string, init?: RequestInit) => Promise<Response>;
4
+ export type FetchFn = (url: string, init?: RequestInit) => Promise<Response>;
5
5
  export interface RequestContext {
6
6
  fetch: FetchFn;
7
7
  url: string;
@@ -8,7 +8,7 @@ export interface NetworkConfig {
8
8
  fetchFn?: FetchFn;
9
9
  }
10
10
  export declare const StacksNetworks: readonly ["mainnet", "testnet"];
11
- export declare type StacksNetworkName = typeof StacksNetworks[number];
11
+ export type StacksNetworkName = typeof StacksNetworks[number];
12
12
  export declare class StacksNetwork {
13
13
  version: TransactionVersion;
14
14
  chainId: ChainID;
package/dist/fetch.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import 'cross-fetch/polyfill';
2
2
  export declare const getFetchOptions: () => RequestInit;
3
3
  export declare const setFetchOptions: (ops: RequestInit) => RequestInit;
4
- export declare type FetchFn = (url: string, init?: RequestInit) => Promise<Response>;
4
+ export type FetchFn = (url: string, init?: RequestInit) => Promise<Response>;
5
5
  export interface RequestContext {
6
6
  fetch: FetchFn;
7
7
  url: string;
package/dist/network.d.ts CHANGED
@@ -8,7 +8,7 @@ export interface NetworkConfig {
8
8
  fetchFn?: FetchFn;
9
9
  }
10
10
  export declare const StacksNetworks: readonly ["mainnet", "testnet"];
11
- export declare type StacksNetworkName = typeof StacksNetworks[number];
11
+ export type StacksNetworkName = typeof StacksNetworks[number];
12
12
  export declare class StacksNetwork {
13
13
  version: TransactionVersion;
14
14
  chainId: ChainID;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacks/network",
3
- "version": "5.0.3",
3
+ "version": "5.0.5-pr.6430355.0",
4
4
  "description": "Library for Stacks network operations",
5
5
  "license": "MIT",
6
6
  "author": "Hiro Systems PBC (https://hiro.so)",
@@ -20,7 +20,7 @@
20
20
  "typecheck:watch": "npm run typecheck -- --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@stacks/common": "^5.0.3",
23
+ "@stacks/common": "^5.0.5-pr.6430355.0",
24
24
  "cross-fetch": "^3.1.5"
25
25
  },
26
26
  "devDependencies": {
@@ -60,5 +60,5 @@
60
60
  "typedoc": {
61
61
  "entryPoint": "./src/index.ts"
62
62
  },
63
- "gitHead": "b4e5e7327f8f703b9e0f8b15a5fbcef59d6741df"
63
+ "gitHead": "643035540f374d72636e21e47cd9dcfe7e56e4c1"
64
64
  }