@taquito/beacon-wallet 24.3.0-beta.0 → 24.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.
- package/README.md +2 -2
- package/dist/lib/taquito-beacon-wallet.js +6 -17
- package/dist/lib/version.js +2 -2
- package/dist/taquito-beacon-wallet.es6.js +8 -19
- package/dist/taquito-beacon-wallet.es6.js.map +1 -1
- package/dist/taquito-beacon-wallet.umd.js +8 -19
- package/dist/taquito-beacon-wallet.umd.js.map +1 -1
- package/package.json +10 -66
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Taquito Beacon Wallet package
|
|
2
2
|
|
|
3
|
-
_Documentation can be found [here](https://taquito.io/docs/wallet_API)_
|
|
3
|
+
_Documentation can be found [here](https://taquito.io/docs/wallet_API)_
|
|
4
4
|
_TypeDoc style documentation is available [here](https://taquito.io/typedoc/modules/_taquito_beacon_wallet.html)_
|
|
5
5
|
|
|
6
6
|
## General Information
|
|
@@ -26,7 +26,7 @@ import { BeaconWallet } from '@taquito/beacon-wallet';
|
|
|
26
26
|
const options = {
|
|
27
27
|
name: 'MyAwesomeDapp',
|
|
28
28
|
iconUrl: 'https://taquito.io/img/favicon.svg',
|
|
29
|
-
network: { type: '
|
|
29
|
+
network: { type: 'shadownet' },
|
|
30
30
|
enableMetrics: true,
|
|
31
31
|
};
|
|
32
32
|
const wallet = new BeaconWallet(options);
|
|
@@ -25,29 +25,18 @@ Object.defineProperty(exports, "BeaconEvent", { enumerable: true, get: function
|
|
|
25
25
|
/**
|
|
26
26
|
* Default matrix relay nodes curated by Taquito.
|
|
27
27
|
*
|
|
28
|
-
* Includes only
|
|
29
|
-
*
|
|
30
|
-
*
|
|
28
|
+
* Includes only Trilitech-operated `octez.io` nodes. These replace the Beacon
|
|
29
|
+
* SDK built-in defaults so that Taquito controls which relay infrastructure
|
|
30
|
+
* its users hit.
|
|
31
31
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* to prevent connection attempts to dead servers.
|
|
32
|
+
* Non-European regions are intentionally empty because Taquito no longer
|
|
33
|
+
* curates Papers-operated relay nodes for those regions.
|
|
35
34
|
*
|
|
36
35
|
* Users can still override specific regions (or the entire list) by passing
|
|
37
36
|
* their own `matrixNodes` in the BeaconWallet constructor options.
|
|
38
37
|
*/
|
|
39
38
|
const TAQUITO_CURATED_MATRIX_NODES = {
|
|
40
39
|
[beacon_dapp_1.Regions.EUROPE_WEST]: [
|
|
41
|
-
// Papers
|
|
42
|
-
'beacon-node-1.diamond.papers.tech',
|
|
43
|
-
'beacon-node-1.sky.papers.tech',
|
|
44
|
-
'beacon-node-2.sky.papers.tech',
|
|
45
|
-
'beacon-node-1.hope.papers.tech',
|
|
46
|
-
'beacon-node-1.hope-2.papers.tech',
|
|
47
|
-
'beacon-node-1.hope-3.papers.tech',
|
|
48
|
-
'beacon-node-1.hope-4.papers.tech',
|
|
49
|
-
'beacon-node-1.hope-5.papers.tech',
|
|
50
|
-
// Trilitech
|
|
51
40
|
'beacon-node-1.octez.io',
|
|
52
41
|
'beacon-node-2.octez.io',
|
|
53
42
|
'beacon-node-3.octez.io',
|
|
@@ -57,7 +46,7 @@ const TAQUITO_CURATED_MATRIX_NODES = {
|
|
|
57
46
|
'beacon-node-7.octez.io',
|
|
58
47
|
'beacon-node-8.octez.io',
|
|
59
48
|
],
|
|
60
|
-
//
|
|
49
|
+
// Left empty so Taquito does not point users at soon-to-be-retired Papers relays
|
|
61
50
|
[beacon_dapp_1.Regions.NORTH_AMERICA_EAST]: [],
|
|
62
51
|
[beacon_dapp_1.Regions.NORTH_AMERICA_WEST]: [],
|
|
63
52
|
[beacon_dapp_1.Regions.ASIA_EAST]: [],
|
package/dist/lib/version.js
CHANGED
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT!
|
|
5
5
|
exports.VERSION = {
|
|
6
|
-
"commitHash": "
|
|
7
|
-
"version": "24.3.0-beta.
|
|
6
|
+
"commitHash": "fb73f1546d3dff2fbba7741ca6006680212bef16",
|
|
7
|
+
"version": "24.3.0-beta.2"
|
|
8
8
|
};
|
|
@@ -32,8 +32,8 @@ class MissingRequiredScopes extends PermissionDeniedError {
|
|
|
32
32
|
|
|
33
33
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT!
|
|
34
34
|
const VERSION = {
|
|
35
|
-
"commitHash": "
|
|
36
|
-
"version": "24.3.0-beta.
|
|
35
|
+
"commitHash": "fb73f1546d3dff2fbba7741ca6006680212bef16",
|
|
36
|
+
"version": "24.3.0-beta.2"
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
/**
|
|
@@ -43,29 +43,18 @@ const VERSION = {
|
|
|
43
43
|
/**
|
|
44
44
|
* Default matrix relay nodes curated by Taquito.
|
|
45
45
|
*
|
|
46
|
-
* Includes only
|
|
47
|
-
*
|
|
48
|
-
*
|
|
46
|
+
* Includes only Trilitech-operated `octez.io` nodes. These replace the Beacon
|
|
47
|
+
* SDK built-in defaults so that Taquito controls which relay infrastructure
|
|
48
|
+
* its users hit.
|
|
49
49
|
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* to prevent connection attempts to dead servers.
|
|
50
|
+
* Non-European regions are intentionally empty because Taquito no longer
|
|
51
|
+
* curates Papers-operated relay nodes for those regions.
|
|
53
52
|
*
|
|
54
53
|
* Users can still override specific regions (or the entire list) by passing
|
|
55
54
|
* their own `matrixNodes` in the BeaconWallet constructor options.
|
|
56
55
|
*/
|
|
57
56
|
const TAQUITO_CURATED_MATRIX_NODES = {
|
|
58
57
|
[Regions.EUROPE_WEST]: [
|
|
59
|
-
// Papers
|
|
60
|
-
'beacon-node-1.diamond.papers.tech',
|
|
61
|
-
'beacon-node-1.sky.papers.tech',
|
|
62
|
-
'beacon-node-2.sky.papers.tech',
|
|
63
|
-
'beacon-node-1.hope.papers.tech',
|
|
64
|
-
'beacon-node-1.hope-2.papers.tech',
|
|
65
|
-
'beacon-node-1.hope-3.papers.tech',
|
|
66
|
-
'beacon-node-1.hope-4.papers.tech',
|
|
67
|
-
'beacon-node-1.hope-5.papers.tech',
|
|
68
|
-
// Trilitech
|
|
69
58
|
'beacon-node-1.octez.io',
|
|
70
59
|
'beacon-node-2.octez.io',
|
|
71
60
|
'beacon-node-3.octez.io',
|
|
@@ -75,7 +64,7 @@ const TAQUITO_CURATED_MATRIX_NODES = {
|
|
|
75
64
|
'beacon-node-7.octez.io',
|
|
76
65
|
'beacon-node-8.octez.io',
|
|
77
66
|
],
|
|
78
|
-
//
|
|
67
|
+
// Left empty so Taquito does not point users at soon-to-be-retired Papers relays
|
|
79
68
|
[Regions.NORTH_AMERICA_EAST]: [],
|
|
80
69
|
[Regions.NORTH_AMERICA_WEST]: [],
|
|
81
70
|
[Regions.ASIA_EAST]: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taquito-beacon-wallet.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taquito-beacon-wallet.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
|
|
32
32
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT!
|
|
33
33
|
const VERSION = {
|
|
34
|
-
"commitHash": "
|
|
35
|
-
"version": "24.3.0-beta.
|
|
34
|
+
"commitHash": "fb73f1546d3dff2fbba7741ca6006680212bef16",
|
|
35
|
+
"version": "24.3.0-beta.2"
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
/**
|
|
@@ -42,29 +42,18 @@
|
|
|
42
42
|
/**
|
|
43
43
|
* Default matrix relay nodes curated by Taquito.
|
|
44
44
|
*
|
|
45
|
-
* Includes only
|
|
46
|
-
*
|
|
47
|
-
*
|
|
45
|
+
* Includes only Trilitech-operated `octez.io` nodes. These replace the Beacon
|
|
46
|
+
* SDK built-in defaults so that Taquito controls which relay infrastructure
|
|
47
|
+
* its users hit.
|
|
48
48
|
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* to prevent connection attempts to dead servers.
|
|
49
|
+
* Non-European regions are intentionally empty because Taquito no longer
|
|
50
|
+
* curates Papers-operated relay nodes for those regions.
|
|
52
51
|
*
|
|
53
52
|
* Users can still override specific regions (or the entire list) by passing
|
|
54
53
|
* their own `matrixNodes` in the BeaconWallet constructor options.
|
|
55
54
|
*/
|
|
56
55
|
const TAQUITO_CURATED_MATRIX_NODES = {
|
|
57
56
|
[beaconDapp.Regions.EUROPE_WEST]: [
|
|
58
|
-
// Papers
|
|
59
|
-
'beacon-node-1.diamond.papers.tech',
|
|
60
|
-
'beacon-node-1.sky.papers.tech',
|
|
61
|
-
'beacon-node-2.sky.papers.tech',
|
|
62
|
-
'beacon-node-1.hope.papers.tech',
|
|
63
|
-
'beacon-node-1.hope-2.papers.tech',
|
|
64
|
-
'beacon-node-1.hope-3.papers.tech',
|
|
65
|
-
'beacon-node-1.hope-4.papers.tech',
|
|
66
|
-
'beacon-node-1.hope-5.papers.tech',
|
|
67
|
-
// Trilitech
|
|
68
57
|
'beacon-node-1.octez.io',
|
|
69
58
|
'beacon-node-2.octez.io',
|
|
70
59
|
'beacon-node-3.octez.io',
|
|
@@ -74,7 +63,7 @@
|
|
|
74
63
|
'beacon-node-7.octez.io',
|
|
75
64
|
'beacon-node-8.octez.io',
|
|
76
65
|
],
|
|
77
|
-
//
|
|
66
|
+
// Left empty so Taquito does not point users at soon-to-be-retired Papers relays
|
|
78
67
|
[beaconDapp.Regions.NORTH_AMERICA_EAST]: [],
|
|
79
68
|
[beaconDapp.Regions.NORTH_AMERICA_WEST]: [],
|
|
80
69
|
[beaconDapp.Regions.ASIA_EAST]: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taquito-beacon-wallet.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taquito-beacon-wallet.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taquito/beacon-wallet",
|
|
3
|
-
"version": "24.3.0-beta.
|
|
3
|
+
"version": "24.3.0-beta.2",
|
|
4
4
|
"description": "TZIP-10 Beacon wallet integration for Taquito dapps built on the Beacon SDK DAppClient.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"taquito",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"node": ">=22"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
|
-
"test": "
|
|
57
|
-
"test:watch": "
|
|
58
|
-
"test:prod": "npm run lint && npm run test
|
|
56
|
+
"test": "vitest run --config ./vitest.config.ts",
|
|
57
|
+
"test:watch": "vitest --config ./vitest.config.ts",
|
|
58
|
+
"test:prod": "npm run lint && npm run test",
|
|
59
59
|
"lint": "eslint --ext .js,.ts .",
|
|
60
60
|
"precommit": "lint-staged",
|
|
61
61
|
"prebuild": "rimraf dist",
|
|
@@ -70,67 +70,15 @@
|
|
|
70
70
|
"eslint --fix"
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
|
-
"jest": {
|
|
74
|
-
"transform": {
|
|
75
|
-
".(ts|tsx)": [
|
|
76
|
-
"ts-jest",
|
|
77
|
-
{
|
|
78
|
-
"useESM": true,
|
|
79
|
-
"allowJs": true,
|
|
80
|
-
"tsconfig": {
|
|
81
|
-
"allowJs": true,
|
|
82
|
-
"module": "es2020"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
".(js|jsx|mjs)": [
|
|
87
|
-
"ts-jest",
|
|
88
|
-
{
|
|
89
|
-
"useESM": true,
|
|
90
|
-
"allowJs": true,
|
|
91
|
-
"tsconfig": {
|
|
92
|
-
"allowJs": true,
|
|
93
|
-
"module": "es2020"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
]
|
|
97
|
-
},
|
|
98
|
-
"testEnvironment": "node",
|
|
99
|
-
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
|
100
|
-
"moduleFileExtensions": [
|
|
101
|
-
"ts",
|
|
102
|
-
"tsx",
|
|
103
|
-
"js",
|
|
104
|
-
"jsx",
|
|
105
|
-
"json",
|
|
106
|
-
"mjs"
|
|
107
|
-
],
|
|
108
|
-
"moduleNameMapper": {
|
|
109
|
-
"^@taquito/taquito$": "<rootDir>/../taquito/src/taquito.ts",
|
|
110
|
-
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
111
|
-
},
|
|
112
|
-
"transformIgnorePatterns": [
|
|
113
|
-
"/node_modules/(?!(@ecadlabs|@stablelib)/.*)"
|
|
114
|
-
],
|
|
115
|
-
"extensionsToTreatAsEsm": [
|
|
116
|
-
".ts",
|
|
117
|
-
".tsx",
|
|
118
|
-
".mts"
|
|
119
|
-
],
|
|
120
|
-
"coveragePathIgnorePatterns": [
|
|
121
|
-
"/node_modules/",
|
|
122
|
-
"/test/"
|
|
123
|
-
],
|
|
124
|
-
"collectCoverageFrom": [
|
|
125
|
-
"src/**/*.{js,ts}"
|
|
126
|
-
]
|
|
127
|
-
},
|
|
128
73
|
"dependencies": {
|
|
129
74
|
"@ecadlabs/beacon-dapp": "^4.8.1-ecad",
|
|
130
75
|
"@ecadlabs/beacon-types": "^4.8.1-ecad",
|
|
131
|
-
"@taquito/core": "^24.3.0-beta.
|
|
132
|
-
"@taquito/taquito": "^24.3.0-beta.
|
|
76
|
+
"@taquito/core": "^24.3.0-beta.2",
|
|
77
|
+
"@taquito/taquito": "^24.3.0-beta.2",
|
|
78
|
+
"@taquito/utils": "^24.3.0-beta.2",
|
|
79
|
+
"@stablelib/ed25519": "^2.0.2",
|
|
133
80
|
"crypto-browserify": "^3.12.1",
|
|
81
|
+
"typedarray-to-buffer": "^4.0.0",
|
|
134
82
|
"util": "^0.12.5"
|
|
135
83
|
},
|
|
136
84
|
"devDependencies": {
|
|
@@ -138,8 +86,7 @@
|
|
|
138
86
|
"@ecadlabs/beacon-ui": "^4.8.1-ecad",
|
|
139
87
|
"@types/bluebird": "^3.5.42",
|
|
140
88
|
"@types/chrome": "0.0.269",
|
|
141
|
-
"@types/
|
|
142
|
-
"@types/node": "^20",
|
|
89
|
+
"@types/node": "^22.0.0",
|
|
143
90
|
"@types/ws": "^8.5.12",
|
|
144
91
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
145
92
|
"@typescript-eslint/parser": "^6.21.0",
|
|
@@ -148,8 +95,6 @@
|
|
|
148
95
|
"cross-env": "^7.0.3",
|
|
149
96
|
"eslint": "^8.57.0",
|
|
150
97
|
"fake-indexeddb": "^6.0.0",
|
|
151
|
-
"jest": "^29.7.0",
|
|
152
|
-
"jest-config": "^29.7.0",
|
|
153
98
|
"lint-staged": "^15.2.7",
|
|
154
99
|
"lodash.camelcase": "^4.3.0",
|
|
155
100
|
"prettier": "^3.3.3",
|
|
@@ -161,7 +106,6 @@
|
|
|
161
106
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
162
107
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
163
108
|
"shelljs": "^0.8.5",
|
|
164
|
-
"ts-jest": "^29.2.3",
|
|
165
109
|
"ts-node": "^10.9.2",
|
|
166
110
|
"ts-toolbelt": "^9.6.0",
|
|
167
111
|
"typescript": "^5.9.3",
|