shogun-button-react 4.0.8 → 4.1.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.
- package/dist/index.js +2 -10
- package/dist/index.js.LICENSE.txt +87 -0
- package/package.json +11 -3
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* [js-sha512]{@link https://github.com/emn178/js-sha512}
|
|
3
|
+
*
|
|
4
|
+
* @version 0.8.0
|
|
5
|
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
6
|
+
* @copyright Chen, Yi-Cyuan 2014-2018
|
|
7
|
+
* @license MIT
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/*!
|
|
11
|
+
* The buffer module from node.js, for the browser.
|
|
12
|
+
*
|
|
13
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
14
|
+
* @license MIT
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/*! MIT License. Copyright 2015-2022 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
|
|
18
|
+
|
|
19
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
20
|
+
|
|
21
|
+
/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */
|
|
22
|
+
|
|
23
|
+
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
24
|
+
|
|
25
|
+
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
26
|
+
|
|
27
|
+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
28
|
+
|
|
29
|
+
/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
30
|
+
|
|
31
|
+
/*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @module @semaphore-protocol/group
|
|
35
|
+
* @version 3.15.2
|
|
36
|
+
* @file A library to create and manage Semaphore groups.
|
|
37
|
+
* @copyright Ethereum Foundation 2022
|
|
38
|
+
* @license MIT
|
|
39
|
+
* @see [Github]{@link https://github.com/semaphore-protocol/semaphore/tree/main/packages/group}
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @module @semaphore-protocol/identity
|
|
44
|
+
* @version 3.15.2
|
|
45
|
+
* @file A library to create Semaphore identities.
|
|
46
|
+
* @copyright Ethereum Foundation 2022
|
|
47
|
+
* @license MIT
|
|
48
|
+
* @see [Github]{@link https://github.com/semaphore-protocol/semaphore/tree/main/packages/identity}
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @module @semaphore-protocol/proof
|
|
53
|
+
* @version 3.15.2
|
|
54
|
+
* @file A library to generate and verify Semaphore proofs.
|
|
55
|
+
* @copyright Ethereum Foundation 2022
|
|
56
|
+
* @license MIT
|
|
57
|
+
* @see [Github]{@link https://github.com/semaphore-protocol/semaphore/tree/main/packages/proof}
|
|
58
|
+
*/
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @module @zk-kit/groth16
|
|
62
|
+
* @version 0.3.0
|
|
63
|
+
* @file A snippet of SnarkJS code for verifying and generating Groth16 proofs only.
|
|
64
|
+
* @copyright Ethereum Foundation 2023
|
|
65
|
+
* @license GPL-3.0
|
|
66
|
+
* @see [Github]{@link https://github.com/privacy-scaling-explorations/zk-kit/tree/main/packages/groth16}
|
|
67
|
+
*/
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @module @zk-kit/incremental-merkle-tree
|
|
71
|
+
* @version 1.1.0
|
|
72
|
+
* @file Incremental Merkle tree implementation in TypeScript.
|
|
73
|
+
* @copyright Cedoor 2023
|
|
74
|
+
* @license MIT
|
|
75
|
+
* @see [Github]{@link https://github.com/privacy-scaling-explorations/zk-kit/tree/main/packages/incremental-merkle-tree}
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* [js-sha3]{@link https://github.com/emn178/js-sha3}
|
|
80
|
+
*
|
|
81
|
+
* @version 0.8.0
|
|
82
|
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
83
|
+
* @copyright Chen, Yi-Cyuan 2015-2018
|
|
84
|
+
* @license MIT
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
//!opt && console.log("WHAT IS T?", JSON.stringify(t).length);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shogun-button-react",
|
|
3
3
|
"description": "Shogun connector button",
|
|
4
|
-
"version": "4.0
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"src/styles/index.css"
|
|
@@ -25,16 +25,24 @@
|
|
|
25
25
|
"main": "./dist/index.js",
|
|
26
26
|
"types": "./dist/index.d.ts",
|
|
27
27
|
"scripts": {
|
|
28
|
-
"build": "tsc && copyfiles -u 1 \"src/styles/index.css\" dist",
|
|
28
|
+
"build": "tsc && webpack --mode production && copyfiles -u 1 \"src/styles/index.css\" dist",
|
|
29
|
+
"build:tsc": "tsc",
|
|
30
|
+
"build:webpack": "webpack --mode production",
|
|
29
31
|
"dev": "tsc --watch",
|
|
30
32
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
31
33
|
"prepare": "npm run build"
|
|
32
34
|
},
|
|
33
35
|
"dependencies": {
|
|
36
|
+
"assert": "^2.1.0",
|
|
37
|
+
"buffer": "^6.0.3",
|
|
38
|
+
"crypto-browserify": "^3.12.1",
|
|
34
39
|
"ethers": "^6.13.5",
|
|
35
40
|
"prettier": "^3.5.3",
|
|
41
|
+
"process": "^0.11.10",
|
|
36
42
|
"rxjs": "^7.8.2",
|
|
37
|
-
"shogun-core": "^4.0
|
|
43
|
+
"shogun-core": "^4.1.0",
|
|
44
|
+
"stream-browserify": "^3.0.0",
|
|
45
|
+
"util": "^0.12.5"
|
|
38
46
|
},
|
|
39
47
|
"peerDependencies": {
|
|
40
48
|
"react": "^18.0.0",
|