git.delta.rocks / unique-network / refs/commits / ab1a681cee4d

difftreelog

Merge pull request #2 from usetech-llc/feature/NFTPAR-91

usetech-llc2020-10-02parents: #edcd436 #b97c488.patch.diff
in: master
Feature/nftpar 91

7 files changed

modifiedREADME.mddiffbeforeafterboth
198 "Sponsor": "AccountId",198 "Sponsor": "AccountId",
199 "UnconfirmedSponsor": "AccountId"199 "UnconfirmedSponsor": "AccountId"
200 },200 },
201 "ApprovePermissions": {
202 "Approved": "AccountId",
203 "Amount": "u64"
204 },
201 "RawData": "Vec<u8>",205 "RawData": "Vec<u8>",
202 "Address": "AccountId",206 "Address": "AccountId",
203 "LookupSource": "AccountId",207 "LookupSource": "AccountId",
modifiedtests/package-lock.jsondiffbeforeafterboth
3916 }3916 }
3917 },3917 },
3918 "@polkadot/api": {3918 "@polkadot/api": {
3919 "version": "1.31.2",3919 "version": "1.34.1",
3920 "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-1.31.2.tgz",3920 "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-1.34.1.tgz",
3921 "integrity": "sha512-5nMraRQYFt+xeInQi5i7c00fwOiSeZgU3Y1LJWz+z+Vnxep7xzjVBMLgBi4fe7g2eWKUYB79ApFNV8r2thsQZg==",3921 "integrity": "sha512-3gCibNRchH+XbEdULS1bwiV1RgarZW1PDw1Y1mAQBVqPrUpkYqntp1D52SQOpAbRzldkwk296Sj+mx9/IeDRXA==",
3922 "requires": {3922 "requires": {
3923 "@babel/runtime": "^7.11.2",3923 "@babel/runtime": "^7.11.2",
3924 "@polkadot/api-derive": "1.31.2",3924 "@polkadot/api-derive": "1.34.1",
3925 "@polkadot/keyring": "^3.4.1",3925 "@polkadot/keyring": "^3.4.1",
3926 "@polkadot/metadata": "1.31.2",3926 "@polkadot/metadata": "1.34.1",
3927 "@polkadot/rpc-core": "1.31.2",3927 "@polkadot/rpc-core": "1.34.1",
3928 "@polkadot/rpc-provider": "1.31.2",3928 "@polkadot/rpc-provider": "1.34.1",
3929 "@polkadot/types": "1.31.2",3929 "@polkadot/types": "1.34.1",
3930 "@polkadot/types-known": "1.31.2",3930 "@polkadot/types-known": "1.34.1",
3931 "@polkadot/util": "^3.4.1",3931 "@polkadot/util": "^3.4.1",
3932 "@polkadot/util-crypto": "^3.4.1",3932 "@polkadot/util-crypto": "^3.4.1",
3933 "bn.js": "^5.1.3",3933 "bn.js": "^5.1.3",
3934 "eventemitter3": "^4.0.6",3934 "eventemitter3": "^4.0.7",
3935 "rxjs": "^6.6.2"3935 "rxjs": "^6.6.3"
3936 },3936 }
3937 "dependencies": {
3938 "@polkadot/metadata": {
3939 "version": "1.31.2",
3940 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.31.2.tgz",
3941 "integrity": "sha512-UAcZLxh6QFwhF2Ccmax6LUYa99NntBZrAe8oUN92UJlHbtAutd5sq322P+liG2EHfyhUZs5T5v8jLD79pMTjdA==",
3942 "requires": {
3943 "@babel/runtime": "^7.11.2",
3944 "@polkadot/types": "1.31.2",
3945 "@polkadot/types-known": "1.31.2",
3946 "@polkadot/util": "^3.4.1",
3947 "@polkadot/util-crypto": "^3.4.1",
3948 "bn.js": "^5.1.3"
3949 }
3950 },
3951 "@polkadot/types": {
3952 "version": "1.31.2",
3953 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.31.2.tgz",
3954 "integrity": "sha512-eJsWdMzBlkYYrowR7tl9LYvGW3Za05esDQPxPxc1z2kkwzU2IoX2qijhUb6J9ViESY/h0jWFyEbV/1mBn4uupg==",
3955 "requires": {
3956 "@babel/runtime": "^7.11.2",
3957 "@polkadot/metadata": "1.31.2",
3958 "@polkadot/util": "^3.4.1",
3959 "@polkadot/util-crypto": "^3.4.1",
3960 "@types/bn.js": "^4.11.6",
3961 "bn.js": "^5.1.3",
3962 "memoizee": "^0.4.14",
3963 "rxjs": "^6.6.2"
3964 }
3965 },
3966 "@polkadot/types-known": {
3967 "version": "1.31.2",
3968 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.31.2.tgz",
3969 "integrity": "sha512-sA9IEwYNCsN+Z4eZklxOluJA5OBN2eGNvLz0uUQ6TFvqbi9Z8Mba+h+RZU1iFO6+yq2U7ECvdWzET6RN7zv+oQ==",
3970 "requires": {
3971 "@babel/runtime": "^7.11.2",
3972 "@polkadot/types": "1.31.2",
3973 "@polkadot/util": "^3.4.1",
3974 "bn.js": "^5.1.3"
3975 }
3976 },
3977 "@polkadot/util": {
3978 "version": "3.4.1",
3979 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",
3980 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",
3981 "requires": {
3982 "@babel/runtime": "^7.11.2",
3983 "@types/bn.js": "^4.11.6",
3984 "bn.js": "^5.1.3",
3985 "camelcase": "^5.3.1",
3986 "chalk": "^4.1.0",
3987 "ip-regex": "^4.1.0"
3988 }
3989 }
3990 }
3991 },3937 },
3992 "@polkadot/api-derive": {3938 "@polkadot/api-derive": {
3993 "version": "1.31.2",3939 "version": "1.34.1",
3994 "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-1.31.2.tgz",3940 "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-1.34.1.tgz",
3995 "integrity": "sha512-j33elEBZpY7/ucsBRYdUxeWHID8vlvPKm7k9dWgaH8txYuzms0SFfkMHyECgo15SL+RTNhu/VxzSRWryk6dvTA==",3941 "integrity": "sha512-LMlCkNJRp29MwKa36crYuY6cZpnkHCFrPCv9dmJEuDbMqrK+EAhXM9/6sTDYJ4uKNhyetJKe9rXslkXdI6pidA==",
3996 "requires": {3942 "requires": {
3997 "@babel/runtime": "^7.11.2",3943 "@babel/runtime": "^7.11.2",
3998 "@polkadot/api": "1.31.2",3944 "@polkadot/api": "1.34.1",
3999 "@polkadot/rpc-core": "1.31.2",3945 "@polkadot/rpc-core": "1.34.1",
4000 "@polkadot/rpc-provider": "1.31.2",3946 "@polkadot/rpc-provider": "1.34.1",
4001 "@polkadot/types": "1.31.2",3947 "@polkadot/types": "1.34.1",
4002 "@polkadot/util": "^3.4.1",3948 "@polkadot/util": "^3.4.1",
4003 "@polkadot/util-crypto": "^3.4.1",3949 "@polkadot/util-crypto": "^3.4.1",
4004 "bn.js": "^5.1.3",3950 "bn.js": "^5.1.3",
4005 "memoizee": "^0.4.14",3951 "memoizee": "^0.4.14",
4006 "rxjs": "^6.6.2"3952 "rxjs": "^6.6.3"
4007 },3953 }
4008 "dependencies": {
4009 "@polkadot/metadata": {
4010 "version": "1.31.2",
4011 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.31.2.tgz",
4012 "integrity": "sha512-UAcZLxh6QFwhF2Ccmax6LUYa99NntBZrAe8oUN92UJlHbtAutd5sq322P+liG2EHfyhUZs5T5v8jLD79pMTjdA==",
4013 "requires": {
4014 "@babel/runtime": "^7.11.2",
4015 "@polkadot/types": "1.31.2",
4016 "@polkadot/types-known": "1.31.2",
4017 "@polkadot/util": "^3.4.1",
4018 "@polkadot/util-crypto": "^3.4.1",
4019 "bn.js": "^5.1.3"
4020 }
4021 },
4022 "@polkadot/types": {
4023 "version": "1.31.2",
4024 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.31.2.tgz",
4025 "integrity": "sha512-eJsWdMzBlkYYrowR7tl9LYvGW3Za05esDQPxPxc1z2kkwzU2IoX2qijhUb6J9ViESY/h0jWFyEbV/1mBn4uupg==",
4026 "requires": {
4027 "@babel/runtime": "^7.11.2",
4028 "@polkadot/metadata": "1.31.2",
4029 "@polkadot/util": "^3.4.1",
4030 "@polkadot/util-crypto": "^3.4.1",
4031 "@types/bn.js": "^4.11.6",
4032 "bn.js": "^5.1.3",
4033 "memoizee": "^0.4.14",
4034 "rxjs": "^6.6.2"
4035 }
4036 },
4037 "@polkadot/types-known": {
4038 "version": "1.31.2",
4039 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.31.2.tgz",
4040 "integrity": "sha512-sA9IEwYNCsN+Z4eZklxOluJA5OBN2eGNvLz0uUQ6TFvqbi9Z8Mba+h+RZU1iFO6+yq2U7ECvdWzET6RN7zv+oQ==",
4041 "requires": {
4042 "@babel/runtime": "^7.11.2",
4043 "@polkadot/types": "1.31.2",
4044 "@polkadot/util": "^3.4.1",
4045 "bn.js": "^5.1.3"
4046 }
4047 },
4048 "@polkadot/util": {
4049 "version": "3.4.1",
4050 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",
4051 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",
4052 "requires": {
4053 "@babel/runtime": "^7.11.2",
4054 "@types/bn.js": "^4.11.6",
4055 "bn.js": "^5.1.3",
4056 "camelcase": "^5.3.1",
4057 "chalk": "^4.1.0",
4058 "ip-regex": "^4.1.0"
4059 }
4060 }
4061 }
4062 },3954 },
4063 "@polkadot/dev": {3955 "@polkadot/dev": {
4064 "version": "0.52.19",3956 "version": "0.52.19",
4142 }4034 }
4143 },4035 },
4144 "@polkadot/keyring": {4036 "@polkadot/keyring": {
4145 "version": "3.4.1",4037 "version": "3.5.1",
4146 "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-3.4.1.tgz",4038 "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-3.5.1.tgz",
4147 "integrity": "sha512-x8FxzDzyFX5ai+tnPaxAFUBV/2Mw/om8sRoMh+fT6Jzh3nC7pXfecH5ticJPKe73v/y42hn9xM0tiAI5P8Ohcw==",4039 "integrity": "sha512-Wg8PBACl+RobbmcShl659/5a+foU1j7PGdvdr2pZowkZul8jvwyAN+piIyPSfrsaJkbUoDUR9Pe+oVoeF4ZoXg==",
4148 "requires": {4040 "requires": {
4149 "@babel/runtime": "^7.11.2",4041 "@babel/runtime": "^7.11.2",
4150 "@polkadot/util": "3.4.1",4042 "@polkadot/util": "3.5.1",
4151 "@polkadot/util-crypto": "3.4.1"4043 "@polkadot/util-crypto": "3.5.1"
4152 },4044 }
4153 "dependencies": {
4154 "@polkadot/util": {
4155 "version": "3.4.1",
4156 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",
4157 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",
4158 "requires": {
4159 "@babel/runtime": "^7.11.2",
4160 "@types/bn.js": "^4.11.6",
4161 "bn.js": "^5.1.3",
4162 "camelcase": "^5.3.1",
4163 "chalk": "^4.1.0",
4164 "ip-regex": "^4.1.0"
4165 }
4166 }
4167 }
4168 },4045 },
4169 "@polkadot/metadata": {4046 "@polkadot/metadata": {
4170 "version": "1.32.1",4047 "version": "1.34.1",
4171 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.32.1.tgz",4048 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.34.1.tgz",
4172 "integrity": "sha512-0naYURBGYOMKF+z7RxOtIfhwziqIZ3GgXzYDRDra6goq72c4uykwpMUjkrJ07N9KaKBZsHmkn2k3v7pP5aqlzg==",4049 "integrity": "sha512-uoaOhNHjECDaLBYvGRaLvF0mhZBFmsV3oikYDP4sZx3a5oD0xYsyXtr5bFPQDImwPFASP8/ltrMVqcYTX42xFg==",
4173 "requires": {4050 "requires": {
4174 "@babel/runtime": "^7.11.2",4051 "@babel/runtime": "^7.11.2",
4175 "@polkadot/types": "1.32.1",4052 "@polkadot/types": "1.34.1",
4176 "@polkadot/types-known": "1.32.1",4053 "@polkadot/types-known": "1.34.1",
4177 "@polkadot/util": "^3.4.1",4054 "@polkadot/util": "^3.4.1",
4178 "@polkadot/util-crypto": "^3.4.1",4055 "@polkadot/util-crypto": "^3.4.1",
4179 "bn.js": "^5.1.3"4056 "bn.js": "^5.1.3"
4180 },4057 }
4181 "dependencies": {
4182 "@polkadot/util": {
4183 "version": "3.4.1",
4184 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",
4185 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",
4186 "requires": {
4187 "@babel/runtime": "^7.11.2",
4188 "@types/bn.js": "^4.11.6",
4189 "bn.js": "^5.1.3",
4190 "camelcase": "^5.3.1",
4191 "chalk": "^4.1.0",
4192 "ip-regex": "^4.1.0"
4193 }
4194 }
4195 }
4196 },4058 },
4197 "@polkadot/rpc-core": {4059 "@polkadot/rpc-core": {
4198 "version": "1.31.2",4060 "version": "1.34.1",
4199 "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-1.31.2.tgz",4061 "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-1.34.1.tgz",
4200 "integrity": "sha512-amFN0UtxB94TnXVuL9oBSQDFheCrxUN6C/lmVlOBqnWj6ZA1RDAuPPJBNIjhSxNlGmJxS2yIexaCVKgF8kS8Cg==",4062 "integrity": "sha512-BVQDyBEkbRe5b/u8p9UPpTCj0sDZ32sTmPEP43Klc4s9+oHtiNvOFYvkjK5oyW9dlcOwXi8HpLsQxGAeMtM7Tw==",
4201 "requires": {4063 "requires": {
4202 "@babel/runtime": "^7.11.2",4064 "@babel/runtime": "^7.11.2",
4203 "@polkadot/metadata": "1.31.2",4065 "@polkadot/metadata": "1.34.1",
4204 "@polkadot/rpc-provider": "1.31.2",4066 "@polkadot/rpc-provider": "1.34.1",
4205 "@polkadot/types": "1.31.2",4067 "@polkadot/types": "1.34.1",
4206 "@polkadot/util": "^3.4.1",4068 "@polkadot/util": "^3.4.1",
4207 "memoizee": "^0.4.14",4069 "memoizee": "^0.4.14",
4208 "rxjs": "^6.6.2"4070 "rxjs": "^6.6.3"
4209 },4071 }
4210 "dependencies": {
4211 "@polkadot/metadata": {
4212 "version": "1.31.2",
4213 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.31.2.tgz",
4214 "integrity": "sha512-UAcZLxh6QFwhF2Ccmax6LUYa99NntBZrAe8oUN92UJlHbtAutd5sq322P+liG2EHfyhUZs5T5v8jLD79pMTjdA==",
4215 "requires": {
4216 "@babel/runtime": "^7.11.2",
4217 "@polkadot/types": "1.31.2",
4218 "@polkadot/types-known": "1.31.2",
4219 "@polkadot/util": "^3.4.1",
4220 "@polkadot/util-crypto": "^3.4.1",
4221 "bn.js": "^5.1.3"
4222 }
4223 },
4224 "@polkadot/types": {
4225 "version": "1.31.2",
4226 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.31.2.tgz",
4227 "integrity": "sha512-eJsWdMzBlkYYrowR7tl9LYvGW3Za05esDQPxPxc1z2kkwzU2IoX2qijhUb6J9ViESY/h0jWFyEbV/1mBn4uupg==",
4228 "requires": {
4229 "@babel/runtime": "^7.11.2",
4230 "@polkadot/metadata": "1.31.2",
4231 "@polkadot/util": "^3.4.1",
4232 "@polkadot/util-crypto": "^3.4.1",
4233 "@types/bn.js": "^4.11.6",
4234 "bn.js": "^5.1.3",
4235 "memoizee": "^0.4.14",
4236 "rxjs": "^6.6.2"
4237 }
4238 },
4239 "@polkadot/types-known": {
4240 "version": "1.31.2",
4241 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.31.2.tgz",
4242 "integrity": "sha512-sA9IEwYNCsN+Z4eZklxOluJA5OBN2eGNvLz0uUQ6TFvqbi9Z8Mba+h+RZU1iFO6+yq2U7ECvdWzET6RN7zv+oQ==",
4243 "requires": {
4244 "@babel/runtime": "^7.11.2",
4245 "@polkadot/types": "1.31.2",
4246 "@polkadot/util": "^3.4.1",
4247 "bn.js": "^5.1.3"
4248 }
4249 },
4250 "@polkadot/util": {
4251 "version": "3.4.1",
4252 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",
4253 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",
4254 "requires": {
4255 "@babel/runtime": "^7.11.2",
4256 "@types/bn.js": "^4.11.6",
4257 "bn.js": "^5.1.3",
4258 "camelcase": "^5.3.1",
4259 "chalk": "^4.1.0",
4260 "ip-regex": "^4.1.0"
4261 }
4262 }
4263 }
4264 },4072 },
4265 "@polkadot/rpc-provider": {4073 "@polkadot/rpc-provider": {
4266 "version": "1.31.2",4074 "version": "1.34.1",
4267 "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-1.31.2.tgz",4075 "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-1.34.1.tgz",
4268 "integrity": "sha512-vqS1lsk/BBGSuklGKJhJxduKXOyXjc/kZzPWmmH8B92Zh59LqlzoJ8a4gQIjDr0CFjeJZbaaL1yRhE6qwaEe2A==",4076 "integrity": "sha512-bebeis9mB4LS9Spk1WSHoadZHsyHmK4gyyC6uKSLZxHZmnopWna6zWnOBIrYHRz7qDHSZC5eNTseuU8NJXtscA==",
4269 "requires": {4077 "requires": {
4270 "@babel/runtime": "^7.11.2",4078 "@babel/runtime": "^7.11.2",
4271 "@polkadot/metadata": "1.31.2",4079 "@polkadot/metadata": "1.34.1",
4272 "@polkadot/types": "1.31.2",4080 "@polkadot/types": "1.34.1",
4273 "@polkadot/util": "^3.4.1",4081 "@polkadot/util": "^3.4.1",
4274 "@polkadot/util-crypto": "^3.4.1",4082 "@polkadot/util-crypto": "^3.4.1",
4275 "bn.js": "^5.1.3",4083 "@polkadot/x-fetch": "^0.3.2",
4276 "eventemitter3": "^4.0.6",4084 "@polkadot/x-ws": "^0.3.2",
4277 "isomorphic-fetch": "^2.2.1",4085 "bn.js": "^5.1.3",
4278 "websocket": "^1.0.31"4086 "eventemitter3": "^4.0.7"
4279 },4087 }
4280 "dependencies": {
4281 "@polkadot/metadata": {
4282 "version": "1.31.2",
4283 "resolved": "https://registry.npmjs.org/@polkadot/metadata/-/metadata-1.31.2.tgz",
4284 "integrity": "sha512-UAcZLxh6QFwhF2Ccmax6LUYa99NntBZrAe8oUN92UJlHbtAutd5sq322P+liG2EHfyhUZs5T5v8jLD79pMTjdA==",
4285 "requires": {
4286 "@babel/runtime": "^7.11.2",
4287 "@polkadot/types": "1.31.2",
4288 "@polkadot/types-known": "1.31.2",
4289 "@polkadot/util": "^3.4.1",
4290 "@polkadot/util-crypto": "^3.4.1",
4291 "bn.js": "^5.1.3"
4292 }
4293 },
4294 "@polkadot/types": {
4295 "version": "1.31.2",
4296 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.31.2.tgz",
4297 "integrity": "sha512-eJsWdMzBlkYYrowR7tl9LYvGW3Za05esDQPxPxc1z2kkwzU2IoX2qijhUb6J9ViESY/h0jWFyEbV/1mBn4uupg==",
4298 "requires": {
4299 "@babel/runtime": "^7.11.2",
4300 "@polkadot/metadata": "1.31.2",
4301 "@polkadot/util": "^3.4.1",
4302 "@polkadot/util-crypto": "^3.4.1",
4303 "@types/bn.js": "^4.11.6",
4304 "bn.js": "^5.1.3",
4305 "memoizee": "^0.4.14",
4306 "rxjs": "^6.6.2"
4307 }
4308 },
4309 "@polkadot/types-known": {
4310 "version": "1.31.2",
4311 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.31.2.tgz",
4312 "integrity": "sha512-sA9IEwYNCsN+Z4eZklxOluJA5OBN2eGNvLz0uUQ6TFvqbi9Z8Mba+h+RZU1iFO6+yq2U7ECvdWzET6RN7zv+oQ==",
4313 "requires": {
4314 "@babel/runtime": "^7.11.2",
4315 "@polkadot/types": "1.31.2",
4316 "@polkadot/util": "^3.4.1",
4317 "bn.js": "^5.1.3"
4318 }
4319 },
4320 "@polkadot/util": {
4321 "version": "3.4.1",
4322 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",
4323 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",
4324 "requires": {
4325 "@babel/runtime": "^7.11.2",
4326 "@types/bn.js": "^4.11.6",
4327 "bn.js": "^5.1.3",
4328 "camelcase": "^5.3.1",
4329 "chalk": "^4.1.0",
4330 "ip-regex": "^4.1.0"
4331 }
4332 }
4333 }
4334 },4088 },
4335 "@polkadot/ts": {4089 "@polkadot/ts": {
4336 "version": "0.3.44",4090 "version": "0.3.44",
4342 }4096 }
4343 },4097 },
4344 "@polkadot/types": {4098 "@polkadot/types": {
4345 "version": "1.32.1",4099 "version": "1.34.1",
4346 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.32.1.tgz",4100 "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-1.34.1.tgz",
4347 "integrity": "sha512-n+77dHE5J3RqmnbOwMdAeQg5yv68/2qZ7JeBw/KjYtSnJoA2pbW7yL01zSkIUCJcaTb/yuSQz9SK7Cz9QQ6MOw==",4101 "integrity": "sha512-jPwix2y+ZXKYB4ghODXlqYmcI3Tnsl3iO3xIkiGsZhhs9PdrKibcNeAv4LUiRpPuGRnAM+mrlPrBbCuzguKSGg==",
4348 "requires": {4102 "requires": {
4349 "@babel/runtime": "^7.11.2",4103 "@babel/runtime": "^7.11.2",
4350 "@polkadot/metadata": "1.32.1",4104 "@polkadot/metadata": "1.34.1",
4351 "@polkadot/util": "^3.4.1",4105 "@polkadot/util": "^3.4.1",
4352 "@polkadot/util-crypto": "^3.4.1",4106 "@polkadot/util-crypto": "^3.4.1",
4353 "@types/bn.js": "^4.11.6",4107 "@types/bn.js": "^4.11.6",
4354 "bn.js": "^5.1.3",4108 "bn.js": "^5.1.3",
4355 "memoizee": "^0.4.14",4109 "memoizee": "^0.4.14",
4356 "rxjs": "^6.6.2"4110 "rxjs": "^6.6.3"
4357 },4111 }
4358 "dependencies": {
4359 "@polkadot/util": {
4360 "version": "3.4.1",
4361 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",
4362 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",
4363 "requires": {
4364 "@babel/runtime": "^7.11.2",
4365 "@types/bn.js": "^4.11.6",
4366 "bn.js": "^5.1.3",
4367 "camelcase": "^5.3.1",
4368 "chalk": "^4.1.0",
4369 "ip-regex": "^4.1.0"
4370 }
4371 }
4372 }
4373 },4112 },
4374 "@polkadot/types-known": {4113 "@polkadot/types-known": {
4375 "version": "1.32.1",4114 "version": "1.34.1",
4376 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.32.1.tgz",4115 "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-1.34.1.tgz",
4377 "integrity": "sha512-Vv8m5w+v2nKjYIWEvjohW2xZd+v98bgKwzyl+Y7ssbnxMAYZQYkuzR8IDfUXyzcL+p9VF+YFExVnzCakMm756Q==",4116 "integrity": "sha512-H9V8u9cqbKjxU/dxEyLl7kJwoBImXpRskQ5+X0fq3BH7g1nQ6jrIg/buRPpbc3GxKivdFYUZWshPY9hbqE8y8A==",
4378 "requires": {4117 "requires": {
4379 "@babel/runtime": "^7.11.2",4118 "@babel/runtime": "^7.11.2",
4380 "@polkadot/types": "1.32.1",4119 "@polkadot/types": "1.34.1",
4381 "@polkadot/util": "^3.4.1",4120 "@polkadot/util": "^3.4.1",
4382 "bn.js": "^5.1.3"4121 "bn.js": "^5.1.3"
4383 },4122 }
4384 "dependencies": {
4385 "@polkadot/util": {
4386 "version": "3.4.1",
4387 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",
4388 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",
4389 "requires": {
4390 "@babel/runtime": "^7.11.2",
4391 "@types/bn.js": "^4.11.6",
4392 "bn.js": "^5.1.3",
4393 "camelcase": "^5.3.1",
4394 "chalk": "^4.1.0",
4395 "ip-regex": "^4.1.0"
4396 }
4397 }
4398 }
4399 },4123 },
4400 "@polkadot/util": {4124 "@polkadot/util": {
4401 "version": "2.18.1",4125 "version": "3.5.1",
4402 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-2.18.1.tgz",4126 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.5.1.tgz",
4403 "integrity": "sha512-0KAojJMR5KDaaobIyvHVuW9vBP5LG3S0vpRSovB4UPlGDok3ETJSm5lMhA0t2KM8C4gXGBakCotFVGSOvWGgjA==",4127 "integrity": "sha512-9CBVeQlhmghlVeOttZDxwOtDVWLKpHSP0iAE2vG2bnI6T1dSjD0cFHCG9q7GeD6UAN8z+m17/M9WDV2WXzT6kA==",
4404 "requires": {4128 "requires": {
4405 "@babel/runtime": "^7.10.4",4129 "@babel/runtime": "^7.11.2",
4130 "@polkadot/x-textdecoder": "^0.3.2",
4131 "@polkadot/x-textencoder": "^0.3.2",
4406 "@types/bn.js": "^4.11.6",4132 "@types/bn.js": "^4.11.6",
4407 "bn.js": "^5.1.2",4133 "bn.js": "^5.1.3",
4408 "camelcase": "^5.3.1",4134 "camelcase": "^5.3.1",
4409 "chalk": "^4.1.0",4135 "chalk": "^4.1.0",
4410 "ip-regex": "^4.1.0"4136 "ip-regex": "^4.1.0"
4411 }4137 }
4412 },4138 },
4413 "@polkadot/util-crypto": {4139 "@polkadot/util-crypto": {
4414 "version": "3.4.1",4140 "version": "3.5.1",
4415 "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-3.4.1.tgz",4141 "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-3.5.1.tgz",
4416 "integrity": "sha512-RdTAiJ6dFE8nQJ7/wQkvYa6aNZG3Lusf/r7UmPJ56dZldvDTP3OdekzcfYdogU8hSJrE/xX84ii4DrHLnXXfAQ==",4142 "integrity": "sha512-7SWxOYG+dUCAkGW2xCJc9gutLJ02T9LwiumTW8cXFysRai4qLA3XRl+XQHAEdRzKA+97IQmtGMl4/Tjq9TGwYw==",
4417 "requires": {4143 "requires": {
4418 "@babel/runtime": "^7.11.2",4144 "@babel/runtime": "^7.11.2",
4419 "@polkadot/util": "3.4.1",4145 "@polkadot/util": "3.5.1",
4420 "@polkadot/wasm-crypto": "^1.4.1",4146 "@polkadot/wasm-crypto": "^1.4.1",
4421 "base-x": "^3.0.8",4147 "base-x": "^3.0.8",
4422 "bip39": "^3.0.2",4148 "bip39": "^3.0.2",
4428 "scryptsy": "^2.1.0",4154 "scryptsy": "^2.1.0",
4429 "tweetnacl": "^1.0.3",4155 "tweetnacl": "^1.0.3",
4430 "xxhashjs": "^0.2.2"4156 "xxhashjs": "^0.2.2"
4431 },4157 }
4432 "dependencies": {
4433 "@polkadot/util": {
4434 "version": "3.4.1",
4435 "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-3.4.1.tgz",
4436 "integrity": "sha512-CJo0wAzXR8vjAzs9mHDooZr5a3XRW8LlYWik8d/+bv1VDwCC/metSiBrYBOapFhYUjlS5IYIw5bhWS5dnpkXvQ==",
4437 "requires": {
4438 "@babel/runtime": "^7.11.2",
4439 "@types/bn.js": "^4.11.6",
4440 "bn.js": "^5.1.3",
4441 "camelcase": "^5.3.1",
4442 "chalk": "^4.1.0",
4443 "ip-regex": "^4.1.0"
4444 }
4445 }
4446 }
4447 },4158 },
4448 "@polkadot/wasm-crypto": {4159 "@polkadot/wasm-crypto": {
4449 "version": "1.4.1",4160 "version": "1.4.1",
4450 "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-1.4.1.tgz",4161 "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-1.4.1.tgz",
4451 "integrity": "sha512-GPBCh8YvQmA5bobI4rqRkUhrEHkEWU1+lcJVPbZYsa7jiHFaZpzCLrGQfiqW/vtbU1aBS2wmJ0x1nlt33B9QqQ=="4162 "integrity": "sha512-GPBCh8YvQmA5bobI4rqRkUhrEHkEWU1+lcJVPbZYsa7jiHFaZpzCLrGQfiqW/vtbU1aBS2wmJ0x1nlt33B9QqQ=="
4452 },4163 },
4164 "@polkadot/x-fetch": {
4165 "version": "0.3.2",
4166 "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-0.3.2.tgz",
4167 "integrity": "sha512-lk9M8ql/kBBqiZ8KOWj7LFK7P9OxDgVn2fZPNELJzQbfFZwFF8umBPDIWlQIK7wTnlRsQlzOuf6MGEyMK5p42w==",
4168 "requires": {
4169 "@babel/runtime": "^7.11.2",
4170 "@types/node-fetch": "^2.5.7",
4171 "node-fetch": "^2.6.1"
4172 }
4173 },
4174 "@polkadot/x-textdecoder": {
4175 "version": "0.3.2",
4176 "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-0.3.2.tgz",
4177 "integrity": "sha512-W3KK6mMzOH5kts8pSkyYyfsQuAsKUHmIm8jQkhQnSR6FRyhwJtHLZnxP3feEwkNkRbGggG6CtDPrxYCuEO0MvA==",
4178 "requires": {
4179 "@babel/runtime": "^7.11.2"
4180 }
4181 },
4182 "@polkadot/x-textencoder": {
4183 "version": "0.3.2",
4184 "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-0.3.2.tgz",
4185 "integrity": "sha512-nm7N9gWgKsZv8In1Fgfm+jYOPjprna/03Cd8hOqkCMRlSq0L4LS+d8BPrFhPOiT57VFTTW/7csLivFdeKv0GMA==",
4186 "requires": {
4187 "@babel/runtime": "^7.11.2"
4188 }
4189 },
4190 "@polkadot/x-ws": {
4191 "version": "0.3.2",
4192 "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-0.3.2.tgz",
4193 "integrity": "sha512-1aiG11Py8sgzJsz19melMzvBOn5zeMmfjCPoMryX4//063E0mcfnkujg4O6pTMygxJdFGAV1INB9wvMU9Dg9Wg==",
4194 "requires": {
4195 "@babel/runtime": "^7.11.2",
4196 "@types/websocket": "^1.0.1",
4197 "websocket": "^1.0.32"
4198 }
4199 },
4453 "@sindresorhus/is": {4200 "@sindresorhus/is": {
4454 "version": "0.14.0",4201 "version": "0.14.0",
4455 "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",4202 "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
4667 "resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.4.tgz",4414 "resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.4.tgz",
4668 "integrity": "sha512-Wk7nG1JSaMfMpoMJDKUsWYugliB2Vy55pdjLpmLixeyMi7HizW2I/9QoxsPCkXl3dO+ZOVqPumKaDUv5zJu2uQ=="4415 "integrity": "sha512-Wk7nG1JSaMfMpoMJDKUsWYugliB2Vy55pdjLpmLixeyMi7HizW2I/9QoxsPCkXl3dO+ZOVqPumKaDUv5zJu2uQ=="
4669 },4416 },
4417 "@types/node-fetch": {
4418 "version": "2.5.7",
4419 "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.7.tgz",
4420 "integrity": "sha512-o2WVNf5UhWRkxlf6eq+jMZDu7kjgpgJfl4xVNlvryc95O/6F2ld8ztKX+qu+Rjyet93WAWm5LjeX9H5FGkODvw==",
4421 "requires": {
4422 "@types/node": "*",
4423 "form-data": "^3.0.0"
4424 },
4425 "dependencies": {
4426 "form-data": {
4427 "version": "3.0.0",
4428 "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz",
4429 "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==",
4430 "requires": {
4431 "asynckit": "^0.4.0",
4432 "combined-stream": "^1.0.8",
4433 "mime-types": "^2.1.12"
4434 }
4435 }
4436 }
4437 },
4670 "@types/normalize-package-data": {4438 "@types/normalize-package-data": {
4671 "version": "2.4.0",4439 "version": "2.4.0",
4672 "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz",4440 "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz",
4691 "integrity": "sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==",4459 "integrity": "sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==",
4692 "dev": true4460 "dev": true
4693 },4461 },
4462 "@types/websocket": {
4463 "version": "1.0.1",
4464 "resolved": "https://registry.npmjs.org/@types/websocket/-/websocket-1.0.1.tgz",
4465 "integrity": "sha512-f5WLMpezwVxCLm1xQe/kdPpQIOmL0TXYx2O15VYfYzc7hTIdxiOoOvez+McSIw3b7z/1zGovew9YSL7+h4h7/Q==",
4466 "requires": {
4467 "@types/node": "*"
4468 }
4469 },
4694 "@types/yargs": {4470 "@types/yargs": {
4695 "version": "15.0.5",4471 "version": "15.0.5",
4696 "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.5.tgz",4472 "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.5.tgz",
5951 "asynckit": {5727 "asynckit": {
5952 "version": "0.4.0",5728 "version": "0.4.0",
5953 "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",5729 "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
5954 "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",5730 "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
5955 "dev": true
5956 },5731 },
5957 "at-least-node": {5732 "at-least-node": {
5958 "version": "1.0.0",5733 "version": "1.0.0",
7364 "version": "1.0.8",7139 "version": "1.0.8",
7365 "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",7140 "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
7366 "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",7141 "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
7367 "dev": true,
7368 "requires": {7142 "requires": {
7369 "delayed-stream": "~1.0.0"7143 "delayed-stream": "~1.0.0"
7370 }7144 }
9081 "delayed-stream": {8855 "delayed-stream": {
9082 "version": "1.0.0",8856 "version": "1.0.0",
9083 "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",8857 "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
9084 "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",8858 "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
9085 "dev": true
9086 },8859 },
9087 "delegate": {8860 "delegate": {
9088 "version": "3.2.0",8861 "version": "3.2.0",
9700 "version": "0.1.13",9473 "version": "0.1.13",
9701 "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",9474 "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
9702 "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",9475 "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
9476 "dev": true,
9703 "requires": {9477 "requires": {
9704 "iconv-lite": "^0.6.2"9478 "iconv-lite": "^0.6.2"
9705 }9479 }
12954 "version": "0.6.2",12728 "version": "0.6.2",
12955 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz",12729 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz",
12956 "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==",12730 "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==",
12731 "dev": true,
12957 "requires": {12732 "requires": {
12958 "safer-buffer": ">= 2.1.2 < 3.0.0"12733 "safer-buffer": ">= 2.1.2 < 3.0.0"
12959 }12734 }
13338 "dev": true13113 "dev": true
13339 },13114 },
13340 "ip-regex": {13115 "ip-regex": {
13341 "version": "4.1.0",13116 "version": "4.2.0",
13342 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.1.0.tgz",13117 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
13343 "integrity": "sha512-pKnZpbgCTfH/1NLIlOduP/V+WRXzC2MOz3Qo8xmxk8C5GudJLgK5QyLVXOSWy3ParAH7Eemurl3xjv/WXYFvMA=="13118 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A=="
13344 },13119 },
13345 "ipaddr.js": {13120 "ipaddr.js": {
13346 "version": "1.9.1",13121 "version": "1.9.1",
13717 "is-stream": {13492 "is-stream": {
13718 "version": "1.1.0",13493 "version": "1.1.0",
13719 "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",13494 "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
13720 "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="13495 "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
13496 "dev": true
13721 },13497 },
13722 "is-string": {13498 "is-string": {
13723 "version": "1.0.5",13499 "version": "1.0.5",
13809 "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",13585 "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
13810 "dev": true13586 "dev": true
13811 },13587 },
13812 "isomorphic-fetch": {
13813 "version": "2.2.1",
13814 "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
13815 "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=",
13816 "requires": {
13817 "node-fetch": "^1.0.1",
13818 "whatwg-fetch": ">=0.10.0"
13819 }
13820 },
13821 "isstream": {13588 "isstream": {
13822 "version": "0.1.2",13589 "version": "0.1.2",
13823 "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",13590 "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
15870 "mime-db": {15637 "mime-db": {
15871 "version": "1.44.0",15638 "version": "1.44.0",
15872 "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",15639 "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
15873 "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==",15640 "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
15874 "dev": true
15875 },15641 },
15876 "mime-types": {15642 "mime-types": {
15877 "version": "2.1.27",15643 "version": "2.1.27",
15878 "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",15644 "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
15879 "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",15645 "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
15880 "dev": true,
15881 "requires": {15646 "requires": {
15882 "mime-db": "1.44.0"15647 "mime-db": "1.44.0"
15883 }15648 }
16661 }16426 }
16662 },16427 },
16663 "node-fetch": {16428 "node-fetch": {
16664 "version": "1.7.3",16429 "version": "2.6.1",
16665 "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",16430 "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
16666 "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",16431 "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
16667 "requires": {
16668 "encoding": "^0.1.11",
16669 "is-stream": "^1.0.1"
16670 }
16671 },16432 },
16672 "node-fetch-npm": {16433 "node-fetch-npm": {
16673 "version": "2.0.4",16434 "version": "2.0.4",
19728 "safer-buffer": {19489 "safer-buffer": {
19729 "version": "2.1.2",19490 "version": "2.1.2",
19730 "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",19491 "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
19731 "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="19492 "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
19493 "dev": true
19732 },19494 },
19733 "sane": {19495 "sane": {
19734 "version": "4.1.0",19496 "version": "4.1.0",
23598 }23360 }
23599 }23361 }
23600 },23362 },
23601 "whatwg-fetch": {
23602 "version": "3.4.1",
23603 "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.4.1.tgz",
23604 "integrity": "sha512-sofZVzE1wKwO+EYPbWfiwzaKovWiZXf4coEzjGP9b2GBVgQRLQUZ2QcuPpQExGDAW5GItpEm6Tl4OU5mywnAoQ=="
23605 },
23606 "whatwg-mimetype": {23363 "whatwg-mimetype": {
23607 "version": "2.3.0",23364 "version": "2.3.0",
23608 "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz",23365 "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz",
modifiedtests/package.jsondiffbeforeafterboth
23 "license": "Apache 2.0",23 "license": "Apache 2.0",
24 "homepage": "",24 "homepage": "",
25 "dependencies": {25 "dependencies": {
26 "@polkadot/api": "^1.31.2",26 "@polkadot/api": "^1.34.1",
27 "@polkadot/types": "^1.31.2",27 "@polkadot/types": "^1.34.1",
28 "@polkadot/util": "^2.18.1",28 "@polkadot/util": "^3.4.1",
29 "@types/bn.js": "^4.11.6",29 "@types/bn.js": "^4.11.6",
30 "chai-as-promised": "^7.1.1"30 "chai-as-promised": "^7.1.1"
31 },31 },
modifiedtests/src/config.tsdiffbeforeafterboth
22
3const config = {3const config = {
4 substrateUrl: process.env.substrateUrl || 'ws://127.0.0.1:9944',4 substrateUrl: process.env.substrateUrl || 'ws://127.0.0.1:9944',
5 customTypes: process.env.customTypes || `{5 customTypes: process.env.customTypes || `{
6 "Schedule": {6 "Schedule": {
7 "version": "u32",7 "version": "u32",
8 "put_code_per_byte_cost": "Gas",8 "put_code_per_byte_cost": "Gas",
9 "grow_mem_cost": "Gas",9 "grow_mem_cost": "Gas",
10 "regular_op_cost": "Gas",10 "regular_op_cost": "Gas",
11 "return_data_per_byte_cost": "Gas",11 "return_data_per_byte_cost": "Gas",
12 "event_data_per_byte_cost": "Gas",12 "event_data_per_byte_cost": "Gas",
13 "event_per_topic_cost": "Gas",13 "event_per_topic_cost": "Gas",
14 "event_base_cost": "Gas",14 "event_base_cost": "Gas",
15 "call_base_cost": "Gas",15 "call_base_cost": "Gas",
16 "instantiate_base_cost": "Gas",16 "instantiate_base_cost": "Gas",
17 "dispatch_base_cost": "Gas",17 "dispatch_base_cost": "Gas",
18 "sandbox_data_read_cost": "Gas",18 "sandbox_data_read_cost": "Gas",
19 "sandbox_data_write_cost": "Gas",19 "sandbox_data_write_cost": "Gas",
20 "transfer_cost": "Gas",20 "transfer_cost": "Gas",
21 "instantiate_cost": "Gas",21 "instantiate_cost": "Gas",
22 "max_event_topics": "u32",22 "max_event_topics": "u32",
23 "max_stack_height": "u32",23 "max_stack_height": "u32",
24 "max_memory_pages": "u32",24 "max_memory_pages": "u32",
25 "max_table_size": "u32",25 "max_table_size": "u32",
26 "enable_println": "bool",26 "enable_println": "bool",
27 "max_subject_len": "u32"27 "max_subject_len": "u32"
28 },28 },
29 "CollectionMode": {29 "CollectionMode": {
30 "_enum": {30 "_enum": {
31 "Invalid": null,31 "Invalid": null,
32 "NFT": "u32",32 "NFT": "u32",
33 "Fungible": "u32",33 "Fungible": "u32",
34 "ReFungible": "(u32, u32)"34 "ReFungible": "(u32, u32)"
35 }35 }
36 },36 },
37 "NftItemType": {37 "Ownership": {
38 "Owner": "AccountId",
39 "Fraction": "u128"
40 },
41 "FungibleItemType": {
42 "Collection": "u64",
43 "Owner": "AccountId",
44 "Value": "u128"
45 },
46 "ReFungibleItemType": {
47 "Collection": "u64",
48 "Owner": "Vec<Ownership>",
49 "Data": "Vec<u8>"
50 },
51 "NftItemType": {
38 "Collection": "u64",52 "Collection": "u64",
39 "Owner": "AccountId",53 "Owner": "AccountId",
40 "Data": "Vec<u8>"54 "Data": "Vec<u8>"
41 },55 },
42 "Ownership": {56 "Ownership": {
43 "owner": "AccountId",57 "owner": "AccountId",
44 "fraction": "u128"58 "fraction": "u128"
45 },59 },
46 "ReFungibleItemType": {60 "ReFungibleItemType": {
47 "Collection": "u64",61 "Collection": "u64",
48 "Owner": "Vec<Ownership<AccountId>>",62 "Owner": "Vec<Ownership<AccountId>>",
49 "Data": "Vec<u8>"63 "Data": "Vec<u8>"
50 },64 },
51 "CollectionType": {65 "CollectionType": {
52 "Owner": "AccountId",66 "Owner": "AccountId",
53 "Mode": "CollectionMode",67 "Mode": "CollectionMode",
54 "Access": "u8",68 "Access": "u8",
55 "DecimalPoints": "u32",69 "DecimalPoints": "u32",
56 "Name": "Vec<u16>",70 "Name": "Vec<u16>",
57 "Description": "Vec<u16>",71 "Description": "Vec<u16>",
58 "TokenPrefix": "Vec<u8>",72 "TokenPrefix": "Vec<u8>",
59 "CustomDataSize": "u32",73 "CustomDataSize": "u32",
60 "OffchainSchema": "Vec<u8>",74 "MintMode": "bool",
75 "OffchainSchema": "Vec<u8>",
61 "Sponsor": "AccountId",76 "Sponsor": "AccountId",
62 "UnconfirmedSponsor": "AccountId"77 "UnconfirmedSponsor": "AccountId"
78 },
79 "ApprovePermissions": {
80 "Approved": "AccountId",
81 "Amount": "u64"
63 },82 },
64 "RawData": "Vec<u8>",83 "RawData": "Vec<u8>",
65 "Address": "AccountId",84 "Address": "AccountId",
66 "LookupSource": "AccountId",85 "LookupSource": "AccountId",
67 "Weight": "u64"86 "Weight": "u64"
68 }`87 }`
69}88}
7089
71export default config;90export default config;
modifiedtests/src/connection.test.tsdiffbeforeafterboth
15 });15 });
16 });16 });
1717
18 it('Cannot connect to 0.0.0.0', () => {18 it('Cannot connect to 255.255.255.255', async () => {
19 const neverConnectProvider = new WsProvider('ws://0.0.0.0:9944');19 const neverConnectProvider = new WsProvider('ws://255.255.255.255:9944');
20 expect((async () => {20 await expect((async () => {
21 await usingApi(async api => {21 await usingApi(async api => {
22 const health = await api.rpc.system.health();22 const health = await api.rpc.system.health();
23 }, { provider: neverConnectProvider });23 }, { provider: neverConnectProvider });
modifiedtests/src/substrate/promisify-substrate.tsdiffbeforeafterboth
44
5export default function promisifySubstrate<T extends (...args: any[]) => any>(api: ApiPromise, action: T): (...args: Parameters<T>) => Promise<PromiseType<ReturnType<T>>> {5export default function promisifySubstrate<T extends (...args: any[]) => any>(api: ApiPromise, action: T): (...args: Parameters<T>) => Promise<PromiseType<ReturnType<T>>> {
6 return (...args: Parameters<T>) => {6 return (...args: Parameters<T>) => {
7 const promise = new Promise<PromiseType<ReturnType<T>>>((resolve, reject) => {7 const promise = new Promise<PromiseType<ReturnType<T>>>((resolve: ((result: PromiseType<ReturnType<T>>) => void) | undefined, reject: ((error: any) => void) | undefined) => {
8 const cleanup = () => {8 const cleanup = () => {
9 api.off('disconnected', fail);9 api.off('disconnected', fail);
10 api.off('error', fail);10 api.off('error', fail);
11 resolve = undefined;
12 reject = undefined;
11 };13 };
1214
13 const success = (r: any) => {15 const success = (r: any) => {
14 cleanup();16 resolve && resolve(r);
15 resolve(r);17 cleanup();
16 };18 };
17 const fail = (error: any) => {19 const fail = (error: any) => {
18 cleanup();20 reject && reject(error);
19 reject(error);21 cleanup();
20 };22 };
21 23
22 api.on('disconnected', fail);24 api.on('disconnected', fail);
modifiedtests/src/substrate/substrate-api.tsdiffbeforeafterboth
1010
11export default async function usingApi(action: (api: ApiPromise) => Promise<void>, settings: ApiOptions | undefined = undefined): Promise<void> {11export default async function usingApi(action: (api: ApiPromise) => Promise<void>, settings: ApiOptions | undefined = undefined): Promise<void> {
12 settings = settings || defaultApiOptions();12 settings = settings || defaultApiOptions();
13 let api: ApiPromise | undefined = undefined;13 let api: ApiPromise = new ApiPromise(settings);
1414
15 try {15 try {
16 api = new ApiPromise(settings);
17 await promisifySubstrate(api, () => api && api.isReady)();16 await promisifySubstrate(api, async () => {
18 await action(api);17 if(api) {
18 await api.isReadyOrError;
19 await action(api);
20 }
21 })();
19 } finally {22 } finally {
20 api && api.disconnect();23 await api.disconnect();
21 }24 }
22}25}