@learncard/ethereum-plugin 1.1.4 → 1.1.7
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/dist/{ethereum-plugin.cjs.development.js → ethereum-plugin.cjs.development.cjs} +2 -2
- package/dist/{ethereum-plugin.cjs.production.min.js → ethereum-plugin.cjs.production.min.cjs} +2 -2
- package/dist/{ethereum-plugin.cjs.production.min.js.map → ethereum-plugin.cjs.production.min.cjs.map} +1 -1
- package/dist/ethereum-plugin.esm.js +1 -1
- package/dist/{index.js → index.cjs} +2 -2
- package/package.json +13 -4
- /package/dist/{ethereum-plugin.cjs.development.js.map → ethereum-plugin.cjs.development.cjs.map} +0 -0
|
@@ -14322,7 +14322,7 @@ var require_uniswap_default_tokenlist = __commonJS({
|
|
|
14322
14322
|
});
|
|
14323
14323
|
|
|
14324
14324
|
// src/index.ts
|
|
14325
|
-
var import_buffer = __toESM(require_buffer());
|
|
14325
|
+
var import_buffer = __toESM(require_buffer(), 1);
|
|
14326
14326
|
|
|
14327
14327
|
// ../../../node_modules/.pnpm/ethers@5.8.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/ethers/lib.esm/ethers.js
|
|
14328
14328
|
var ethers_exports = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
if (process.env.NODE_ENV === 'production') {
|
|
4
|
-
module.exports = require('./ethereum-plugin.cjs.production.min.
|
|
4
|
+
module.exports = require('./ethereum-plugin.cjs.production.min.cjs');
|
|
5
5
|
} else {
|
|
6
|
-
module.exports = require('./ethereum-plugin.cjs.development.
|
|
6
|
+
module.exports = require('./ethereum-plugin.cjs.development.cjs');
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@learncard/ethereum-plugin",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "",
|
|
5
|
-
"
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
6
7
|
"module": "./dist/ethereum-plugin.esm.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/ethereum-plugin.esm.js",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
7
15
|
"files": [
|
|
8
16
|
"dist"
|
|
9
17
|
],
|
|
@@ -32,10 +40,11 @@
|
|
|
32
40
|
"dependencies": {
|
|
33
41
|
"@uniswap/default-token-list": "^4.1.0",
|
|
34
42
|
"ethers": "^5.6.9",
|
|
35
|
-
"@learncard/core": "9.4.
|
|
43
|
+
"@learncard/core": "9.4.6"
|
|
36
44
|
},
|
|
45
|
+
"sideEffects": false,
|
|
37
46
|
"scripts": {
|
|
38
|
-
"build": "node ./scripts/build.mjs && shx cp ./scripts/mixedEntypoint.js ./dist/index.
|
|
47
|
+
"build": "node ./scripts/build.mjs && shx cp ./scripts/mixedEntypoint.js ./dist/index.cjs && tsc --p tsconfig.json",
|
|
39
48
|
"test": "jest --passWithNoTests",
|
|
40
49
|
"test:watch": "jest --watch",
|
|
41
50
|
"test:coverage": "jest --silent --ci --coverage --coverageReporters=\"text\" --coverageReporters=\"text-summary\""
|
/package/dist/{ethereum-plugin.cjs.development.js.map → ethereum-plugin.cjs.development.cjs.map}
RENAMED
|
File without changes
|