Skip to content

Commit f270d97

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 158153f + e2e2507 commit f270d97

File tree

5 files changed

+101
-8
lines changed

5 files changed

+101
-8
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ yarn-error.log
44
.idea
55
_book
66
dist
7-
8-
7+
node_modules

docs/js_sdk/INTRO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ yarn add @loopring-web/loopring-sdk
2424

2525
## Getting Started
2626

27-
### Initalize the APIs
27+
### Initialize the APIs
2828

2929
```javascript
3030
const userApi: UserAPI = new UserApi(ChainId.GORLI);
@@ -37,7 +37,7 @@ const walletAPI: WalletAPI = new WalletAPI(ChainId.GORLI);
3737

3838
### Example (Transfer Process)
3939

40-
#### 1. Initalize the api
40+
#### 1. Initialize the api
4141

4242
```javascript
4343
const api: UserAPI = new UserApi(ChainId.GORLI);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@loopring-web/loopring-sdk",
3-
"version": "0.2.6",
3+
"version": "0.2.7",
44
"author": "Loopring Dev Team",
55
"description": "Loopring SDK",
66
"private": false,

src/api/base_api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const getBaseUrlByChainId = (id: ChainId) => {
1010
baseUrl = 'https://api.loopring.network'
1111
break
1212
default:
13-
baseUrl = 'https://api.uat.loopring.pro'
13+
// baseUrl = 'https://api.uat.loopring.pro'
14+
baseUrl = 'https://uat2.loopring.io'
1415
}
1516

1617
return baseUrl

yarn.lock

Lines changed: 95 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,6 +1560,11 @@
15601560
resolved "https://registry.npm.taobao.org/@metamask/safe-event-emitter/download/@metamask/safe-event-emitter-2.0.0.tgz#af577b477c683fad17c619a78208cede06f9605c"
15611561
integrity sha1-r1d7R3xoP60XxhmnggjO3gb5YFw=
15621562

1563+
"@microsoft/tsdoc@^0.13.2":
1564+
version "0.13.2"
1565+
resolved "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.13.2.tgz#3b0efb6d3903bd49edb073696f60e90df08efb26"
1566+
integrity sha512-WrHvO8PDL8wd8T2+zBGKrMwVL5IyzR3ryWUsl0PXgEV0QHup4mTLi0QcATefGI6Gx9Anu7vthPyyyLpY0EpiQg==
1567+
15631568
"@rollup/plugin-babel@^5.1.0":
15641569
version "5.3.0"
15651570
resolved "https://registry.npm.taobao.org/@rollup/plugin-babel/download/@rollup/plugin-babel-5.3.0.tgz#9cb1c5146ddd6a4968ad96f209c50c62f92f9879"
@@ -6241,7 +6246,7 @@ glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, gl
62416246
once "^1.3.0"
62426247
path-is-absolute "^1.0.0"
62436248

6244-
glob@^7.0.3:
6249+
glob@^7.0.3, glob@^7.2.0:
62456250
version "7.2.0"
62466251
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023"
62476252
integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==
@@ -6358,6 +6363,18 @@ growly@^1.3.0:
63586363
resolved "https://registry.npm.taobao.org/growly/download/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
63596364
integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=
63606365

6366+
handlebars@^4.7.7:
6367+
version "4.7.7"
6368+
resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"
6369+
integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==
6370+
dependencies:
6371+
minimist "^1.2.5"
6372+
neo-async "^2.6.0"
6373+
source-map "^0.6.1"
6374+
wordwrap "^1.0.0"
6375+
optionalDependencies:
6376+
uglify-js "^3.1.4"
6377+
63616378
har-schema@^2.0.0:
63626379
version "2.0.0"
63636380
resolved "https://registry.npm.taobao.org/har-schema/download/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
@@ -8271,6 +8288,11 @@ json5@^1.0.1:
82718288
dependencies:
82728289
minimist "^1.2.0"
82738290

8291+
jsonc-parser@^3.0.0:
8292+
version "3.0.0"
8293+
resolved "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.0.0.tgz#abdd785701c7e7eaca8a9ec8cf070ca51a745a22"
8294+
integrity sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==
8295+
82748296
jsonfile@^4.0.0:
82758297
version "4.0.0"
82768298
resolved "https://registry.npm.taobao.org/jsonfile/download/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
@@ -8668,6 +8690,13 @@ lowercase-keys@^2.0.0:
86688690
resolved "https://registry.npm.taobao.org/lowercase-keys/download/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479"
86698691
integrity sha1-JgPni3tLAAbLyi+8yKMgJVislHk=
86708692

8693+
lru-cache@^5.1.1:
8694+
version "5.1.1"
8695+
resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
8696+
integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==
8697+
dependencies:
8698+
yallist "^3.0.2"
8699+
86718700
lru-cache@^6.0.0:
86728701
version "6.0.0"
86738702
resolved "https://registry.npm.taobao.org/lru-cache/download/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
@@ -8685,6 +8714,11 @@ [email protected]:
86858714
resolved "https://registry.npm.taobao.org/lunr/download/lunr-0.5.12.tgz#a2f6b7d7801cbe2ccb1696da67f1f7788f89e0c8"
86868715
integrity sha1-ova314AcvizLFpbaZ/H3eI+J4Mg=
86878716

8717+
lunr@^2.3.9:
8718+
version "2.3.9"
8719+
resolved "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1"
8720+
integrity sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==
8721+
86888722
magic-string@^0.25.2, magic-string@^0.25.7:
86898723
version "0.25.7"
86908724
resolved "https://registry.nlark.com/magic-string/download/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051"
@@ -8730,6 +8764,11 @@ map-visit@^1.0.0:
87308764
dependencies:
87318765
object-visit "^1.0.0"
87328766

8767+
marked@^3.0.8:
8768+
version "3.0.8"
8769+
resolved "https://registry.npmjs.org/marked/-/marked-3.0.8.tgz#2785f0dc79cbdc6034be4bb4f0f0a396bd3f8aeb"
8770+
integrity sha512-0gVrAjo5m0VZSJb4rpL59K1unJAMb/hm8HRXqasD8VeC8m91ytDPMritgFSlKonfdt+rRYYpP/JfLxgIX8yoSw==
8771+
87338772
md5.js@^1.3.4:
87348773
version "1.3.5"
87358774
resolved "https://registry.npm.taobao.org/md5.js/download/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f"
@@ -9110,6 +9149,11 @@ [email protected]:
91109149
resolved "https://registry.nlark.com/negotiator/download/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
91119150
integrity sha1-/qz3zPUlp3rpY0Q2pkiD/+yjRvs=
91129151

9152+
neo-async@^2.6.0:
9153+
version "2.6.2"
9154+
resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
9155+
integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
9156+
91139157
next-tick@~1.0.0:
91149158
version "1.0.0"
91159159
resolved "https://registry.npm.taobao.org/next-tick/download/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"
@@ -9436,6 +9480,13 @@ onetime@^5.1.0:
94369480
dependencies:
94379481
mimic-fn "^2.1.0"
94389482

9483+
onigasm@^2.2.5:
9484+
version "2.2.5"
9485+
resolved "https://registry.npmjs.org/onigasm/-/onigasm-2.2.5.tgz#cc4d2a79a0fa0b64caec1f4c7ea367585a676892"
9486+
integrity sha512-F+th54mPc0l1lp1ZcFMyL/jTs2Tlq4SqIHKIXGZOR/VkHkF9A7Fr5rRr5+ZG/lWeRsyrClLYRq7s/yFQ/XhWCA==
9487+
dependencies:
9488+
lru-cache "^5.1.1"
9489+
94399490
open@^7.0.0:
94409491
version "7.4.2"
94419492
resolved "https://registry.nlark.com/open/download/open-7.4.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fopen%2Fdownload%2Fopen-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321"
@@ -10853,6 +10904,15 @@ shellwords@^0.1.1:
1085310904
resolved "https://registry.npm.taobao.org/shellwords/download/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
1085410905
integrity sha1-1rkYHBpI05cyTISHHvvPxz/AZUs=
1085510906

10907+
shiki@^0.9.12:
10908+
version "0.9.12"
10909+
resolved "https://registry.npmjs.org/shiki/-/shiki-0.9.12.tgz#70cbc8c1bb78ff7b356f84a7eecdb040efddd247"
10910+
integrity sha512-VXcROdldv0/Qu0w2XvzU4IrvTeBNs/Kj/FCmtcEXGz7Tic/veQzliJj6tEiAgoKianhQstpYmbPDStHU5Opqcw==
10911+
dependencies:
10912+
jsonc-parser "^3.0.0"
10913+
onigasm "^2.2.5"
10914+
vscode-textmate "5.2.0"
10915+
1085610916
side-channel@^1.0.4:
1085710917
version "1.0.4"
1085810918
resolved "https://registry.npm.taobao.org/side-channel/download/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"
@@ -11824,6 +11884,24 @@ typedarray@^0.0.6:
1182411884
resolved "https://registry.nlark.com/typedarray/download/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
1182511885
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
1182611886

11887+
typedoc-plugin-markdown@^3.11.7:
11888+
version "3.11.7"
11889+
resolved "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-3.11.7.tgz#9ba24e2cf55992ce4664a2630b2e510aaec43468"
11890+
integrity sha512-Wm3HP5gcBOGOOTeDA8GLgw+BY+GAI31RP9Lyog21BvTaSeWUcdXls5TG1MK+XDatS2/0dup9gFO+emoyoQJm9Q==
11891+
dependencies:
11892+
handlebars "^4.7.7"
11893+
11894+
typedoc@^0.22.9:
11895+
version "0.22.9"
11896+
resolved "https://registry.npmjs.org/typedoc/-/typedoc-0.22.9.tgz#7e3f4f72586bbef4c2382f0afcea8e0f9270b712"
11897+
integrity sha512-84PjudoXVcap6bwdZFbYIUWlgdz/iLV09ZHwrCzhtHWXaDQG6mlosJ8te6DSThuRkRvQjp46HO+qY/P7Gpm78g==
11898+
dependencies:
11899+
glob "^7.2.0"
11900+
lunr "^2.3.9"
11901+
marked "^3.0.8"
11902+
minimatch "^3.0.4"
11903+
shiki "^0.9.12"
11904+
1182711905
typescript@^3.7.3:
1182811906
version "3.9.10"
1182911907
resolved "https://registry.nlark.com/typescript/download/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"
@@ -11834,6 +11912,11 @@ typescript@^4.1.2:
1183411912
resolved "https://registry.nlark.com/typescript/download/typescript-4.3.3.tgz#5401db69bd3203daf1851a1a74d199cb3112c11a"
1183511913
integrity sha1-VAHbab0yA9rxhRoadNGZyzESwRo=
1183611914

11915+
uglify-js@^3.1.4:
11916+
version "3.14.3"
11917+
resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.3.tgz#c0f25dfea1e8e5323eccf59610be08b6043c15cf"
11918+
integrity sha512-mic3aOdiq01DuSVx0TseaEzMIVqebMZ0Z3vaeDhFEh9bsc24hV1TFvN74reA2vs08D0ZWfNjAcJ3UbVLaBss+g==
11919+
1183711920
ultron@~1.1.0:
1183811921
version "1.1.1"
1183911922
resolved "https://registry.npm.taobao.org/ultron/download/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c"
@@ -12065,6 +12148,11 @@ [email protected]:
1206512148
core-util-is "1.0.2"
1206612149
extsprintf "^1.2.0"
1206712150

12151+
12152+
version "5.2.0"
12153+
resolved "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-5.2.0.tgz#01f01760a391e8222fe4f33fbccbd1ad71aed74e"
12154+
integrity sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==
12155+
1206812156
w3c-hr-time@^1.0.1, w3c-hr-time@^1.0.2:
1206912157
version "1.0.2"
1207012158
resolved "https://registry.npm.taobao.org/w3c-hr-time/download/w3c-hr-time-1.0.2.tgz?cache=0&sync_timestamp=1583455604765&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fw3c-hr-time%2Fdownload%2Fw3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"
@@ -12516,6 +12604,11 @@ word-wrap@~1.2.3:
1251612604
resolved "https://registry.npm.taobao.org/word-wrap/download/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"
1251712605
integrity sha1-YQY29rH3A4kb00dxzLF/uTtHB5w=
1251812606

12607+
wordwrap@^1.0.0:
12608+
version "1.0.0"
12609+
resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
12610+
integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=
12611+
1251912612
1252012613
version "6.1.0"
1252112614
resolved "https://registry.npm.taobao.org/workerpool/download/workerpool-6.1.0.tgz#a8e038b4c94569596852de7a8ea4228eefdeb37b"
@@ -12677,7 +12770,7 @@ yaeti@^0.0.6:
1267712770
resolved "https://registry.npm.taobao.org/yaeti/download/yaeti-0.0.6.tgz#f26f484d72684cf42bedfb76970aa1608fbf9577"
1267812771
integrity sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=
1267912772

12680-
yallist@^3.0.0, yallist@^3.0.3:
12773+
yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3:
1268112774
version "3.1.1"
1268212775
resolved "https://registry.npm.taobao.org/yallist/download/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
1268312776
integrity sha1-27fa+b/YusmrRev2ArjLrQ1dCP0=

0 commit comments

Comments
 (0)