@getalby/lightning-tools 4.0.0 → 4.0.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.
@@ -5,7 +5,7 @@ var e=require("crypto-js/enc-hex.js"),t=require("crypto-js/sha256.js"),r=require
5
5
  },{"crypto-js/enc-hex.js":6,"crypto-js/sha256.js":7,"light-bolt11-decoder":8}],2:[function(require,module,exports){
6
6
  // assign alby-tools exports to global window object (for index.browser.js)
7
7
  // @ts-ignore
8
- window["albyTools"] = require('./index.cjs');
8
+ window["lightningTools"] = require('./index.cjs');
9
9
  },{"./index.cjs":1}],3:[function(require,module,exports){
10
10
  "use strict";
11
11
  /*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
package/dist/window.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // assign alby-tools exports to global window object (for index.browser.js)
2
2
  // @ts-ignore
3
- window["albyTools"] = require('./index.cjs');
3
+ window["lightningTools"] = require('./index.cjs');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getalby/lightning-tools",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "Collection of helpful building blocks and tools to develop Bitcoin Lightning web apps",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",
@@ -24,8 +24,8 @@
24
24
  ],
25
25
  "exports": {
26
26
  "require": "./dist/index.cjs",
27
- "default": "./dist/index.modern.js",
28
- "types": "./dist/index.d.ts"
27
+ "types": "./dist/index.d.ts",
28
+ "default": "./dist/index.modern.js"
29
29
  },
30
30
  "scripts": {
31
31
  "prebuild": "yarn run clean",