@openocean.finance/wallet 0.3.8 → 0.4.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.
@@ -23,46 +23,10 @@ object-assign
23
23
  *
24
24
  */
25
25
 
26
- /*!
27
- Copyright (C) 2013-2017 by Andrea Giammarchi - @WebReflection
28
-
29
- Permission is hereby granted, free of charge, to any person obtaining a copy
30
- of this software and associated documentation files (the "Software"), to deal
31
- in the Software without restriction, including without limitation the rights
32
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
33
- copies of the Software, and to permit persons to whom the Software is
34
- furnished to do so, subject to the following conditions:
35
-
36
- The above copyright notice and this permission notice shall be included in
37
- all copies or substantial portions of the Software.
38
-
39
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
45
- THE SOFTWARE.
46
-
47
- */
48
-
49
- /*! *****************************************************************************
50
- Copyright (c) Microsoft Corporation.
51
-
52
- Permission to use, copy, modify, and/or distribute this software for any
53
- purpose with or without fee is hereby granted.
54
-
55
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
56
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
57
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
58
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
59
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
60
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
61
- PERFORMANCE OF THIS SOFTWARE.
62
- ***************************************************************************** */
63
-
64
26
  /*! @ont-community/window-post-message-proxy v0.2.14 | (c) 2016 Microsoft Corporation MIT */
65
27
 
28
+ /*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
29
+
66
30
  /*! https://mths.be/punycode v1.3.2 by @mathias */
67
31
 
68
32
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
@@ -72,7 +36,7 @@ PERFORMANCE OF THIS SOFTWARE.
72
36
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
73
37
 
74
38
  /**
75
- * Support for translating between Buffer instances and JavaScript
39
+ * Support for translating between Uint8Array instances and JavaScript
76
40
  * native types.
77
41
  *
78
42
  * {@link module:Layout~Layout|Layout} is the basis of a class
package/lib/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @name types
3
- * @author openocean
3
+ * @author gen
4
4
  * @date 2021/4/20
5
5
  * @desc
6
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "0.3.8",
3
+ "version": "0.4.0",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -23,7 +23,6 @@
23
23
  "homepage": "",
24
24
  "devDependencies": {
25
25
  "@types/node": "^17.0.21",
26
- "assert": "^2.0.0",
27
26
  "clean-webpack-plugin": "^4.0.0-alpha.0",
28
27
  "crypto-browserify": "^3.12.0",
29
28
  "file-loader": "^6.2.0",
@@ -43,13 +42,31 @@
43
42
  "@cosmjs/launchpad": "^0.27.1",
44
43
  "@cosmjs/stargate": "^0.28.4",
45
44
  "@ont-dev/ontology-dapi": "^0.5.7",
46
- "@project-serum/sol-wallet-adapter": "^0.2.0",
47
- "@solana/web3.js": "^1.5.0",
48
- "@terra-money/terra.js": "^3.0.1",
45
+ "@project-serum/sol-wallet-adapter": "0.2.0",
46
+ "@solana/web3.js": "1.31.0",
47
+ "@terra-money/terra.js": "3.0.8",
49
48
  "@walletconnect/web3-provider": "^1.5.2",
49
+ "web3": "^1.6.0",
50
50
  "buffer": "^6.0.3",
51
51
  "fs": "^0.0.1-security",
52
- "path-browserify": "^1.0.1",
53
- "web3": "^1.6.0"
52
+ "path-browserify": "^1.0.1"
53
+ },
54
+ "eslintConfig": {
55
+ "root": true,
56
+ "env": {
57
+ "node": true,
58
+ "browser": true
59
+ },
60
+ "extends": [
61
+ "eslint:recommended"
62
+ ],
63
+ "parserOptions": {
64
+ "parser": "babel-eslint"
65
+ },
66
+ "rules": {
67
+ "no-debugger": "off",
68
+ "no-console": "off",
69
+ "no-unused-vars": "off"
70
+ }
54
71
  }
55
- }
72
+ }
package/README.md DELETED
@@ -1,6 +0,0 @@
1
- # wallets-manager
2
-
3
- ### todos
4
-
5
- -[ ] add eslint
6
- -[ ] add webpack