@bigmi/core 0.3.0-beta.1 → 0.3.0-beta.2

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.
@@ -3,5 +3,5 @@ type BlockchairConfig = {
3
3
  baseUrl?: string;
4
4
  apiKey?: string;
5
5
  } & HttpTransportConfig;
6
- export declare const blockchair: (config: BlockchairConfig) => import("../http.js").HttpTransport;
6
+ export declare const blockchair: (config?: BlockchairConfig) => import("../http.js").HttpTransport;
7
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"blockchair.js","sourceRoot":"","sources":["../../../../src/transports/blockchair/blockchair.ts"],"names":[],"mappings":";;;AACA,wCAAiC;AAO1B,MAAM,UAAU,GAAG,CAAC,MAAwB,EAAE,EAAE,CACrD,IAAA,cAAI,EAAC,MAAM,EAAE,OAAO,IAAI,4BAA4B,EAAE;IACpD,GAAG,EAAE,YAAY;IACjB,iBAAiB,EAAE,IAAI;IACvB,GAAG,MAAM;CACV,CAAC,CAAA;AALS,QAAA,UAAU,cAKnB"}
1
+ {"version":3,"file":"blockchair.js","sourceRoot":"","sources":["../../../../src/transports/blockchair/blockchair.ts"],"names":[],"mappings":";;;AACA,wCAAiC;AAO1B,MAAM,UAAU,GAAG,CAAC,MAAyB,EAAE,EAAE,CACtD,IAAA,cAAI,EAAC,MAAM,EAAE,OAAO,IAAI,4BAA4B,EAAE;IACpD,GAAG,EAAE,YAAY;IACjB,iBAAiB,EAAE,IAAI;IACvB,GAAG,MAAM;CACV,CAAC,CAAA;AALS,QAAA,UAAU,cAKnB"}
@@ -1,2 +1,2 @@
1
1
  export declare const name = "@bigmi/core";
2
- export declare const version = "0.3.0-beta.1";
2
+ export declare const version = "0.3.0-beta.2";
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = exports.name = void 0;
4
4
  exports.name = '@bigmi/core';
5
- exports.version = '0.3.0-beta.1';
5
+ exports.version = '0.3.0-beta.2';
6
6
  //# sourceMappingURL=version.js.map
@@ -3,5 +3,5 @@ type BlockchairConfig = {
3
3
  baseUrl?: string;
4
4
  apiKey?: string;
5
5
  } & HttpTransportConfig;
6
- export declare const blockchair: (config: BlockchairConfig) => import("../http.js").HttpTransport;
6
+ export declare const blockchair: (config?: BlockchairConfig) => import("../http.js").HttpTransport;
7
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"blockchair.js","sourceRoot":"","sources":["../../../../src/transports/blockchair/blockchair.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAOjC,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAwB,EAAE,EAAE,CACrD,IAAI,CAAC,MAAM,EAAE,OAAO,IAAI,4BAA4B,EAAE;IACpD,GAAG,EAAE,YAAY;IACjB,iBAAiB,EAAE,IAAI;IACvB,GAAG,MAAM;CACV,CAAC,CAAA"}
1
+ {"version":3,"file":"blockchair.js","sourceRoot":"","sources":["../../../../src/transports/blockchair/blockchair.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAOjC,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAyB,EAAE,EAAE,CACtD,IAAI,CAAC,MAAM,EAAE,OAAO,IAAI,4BAA4B,EAAE;IACpD,GAAG,EAAE,YAAY;IACjB,iBAAiB,EAAE,IAAI;IACvB,GAAG,MAAM;CACV,CAAC,CAAA"}
@@ -1,2 +1,2 @@
1
1
  export declare const name = "@bigmi/core";
2
- export declare const version = "0.3.0-beta.1";
2
+ export declare const version = "0.3.0-beta.2";
@@ -1,3 +1,3 @@
1
1
  export const name = '@bigmi/core';
2
- export const version = '0.3.0-beta.1';
2
+ export const version = '0.3.0-beta.2';
3
3
  //# sourceMappingURL=version.js.map
@@ -3,6 +3,6 @@ type BlockchairConfig = {
3
3
  baseUrl?: string;
4
4
  apiKey?: string;
5
5
  } & HttpTransportConfig;
6
- export declare const blockchair: (config: BlockchairConfig) => import("../http.js").HttpTransport;
6
+ export declare const blockchair: (config?: BlockchairConfig) => import("../http.js").HttpTransport;
7
7
  export {};
8
8
  //# sourceMappingURL=blockchair.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"blockchair.d.ts","sourceRoot":"","sources":["../../../../src/transports/blockchair/blockchair.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAGrD,KAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,UAAU,GAAI,QAAQ,gBAAgB,uCAK/C,CAAA"}
1
+ {"version":3,"file":"blockchair.d.ts","sourceRoot":"","sources":["../../../../src/transports/blockchair/blockchair.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAGrD,KAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,mBAAmB,CAAA;AAEvB,eAAO,MAAM,UAAU,GAAI,SAAS,gBAAgB,uCAKhD,CAAA"}
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@bigmi/core";
2
- export declare const version = "0.3.0-beta.1";
2
+ export declare const version = "0.3.0-beta.2";
3
3
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigmi/core",
3
- "version": "0.3.0-beta.1",
3
+ "version": "0.3.0-beta.2",
4
4
  "description": "TypeScript library for Bitcoin apps.",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
package/package.json.tmp CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigmi/core",
3
- "version": "0.3.0-beta.1",
3
+ "version": "0.3.0-beta.2",
4
4
  "description": "TypeScript library for Bitcoin apps.",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -6,7 +6,7 @@ type BlockchairConfig = {
6
6
  apiKey?: string
7
7
  } & HttpTransportConfig
8
8
 
9
- export const blockchair = (config: BlockchairConfig) =>
9
+ export const blockchair = (config?: BlockchairConfig) =>
10
10
  utxo(config?.baseUrl || 'https://api.blockchair.com', {
11
11
  key: 'blockchair',
12
12
  includeChainToURL: true,
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export const name = '@bigmi/core'
2
- export const version = '0.3.0-beta.1'
2
+ export const version = '0.3.0-beta.2'