@polymeshassociation/polymesh-types 5.13.0 → 5.14.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/CHANGELOG.md +2 -2
- package/package.json +1 -1
- package/rpc/index.js +2 -2
- package/runtime/assetApi/v4.js +1 -1
- package/runtime/complianceApi/v2.js +1 -1
- package/runtime/statisticsApi/v0.js +1 -1
- package/types/7.0.x.json +10 -11
- package/types/index.d.ts +1 -2
- package/types/index.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# [5.
|
|
1
|
+
# [5.14.0](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.13.0...v5.14.0) (2024-10-16)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* 🎸
|
|
6
|
+
* 🎸 Normalize AssetID to AssetId ([8cca6ef](https://github.com/PolymeshAssociation/polymesh-types/commit/8cca6ef21885d5c540abe2f39b3bdf1658c1eed4))
|
|
7
7
|
|
|
8
8
|
## [5.11.1](https://github.com/PolymeshAssociation/polymesh-types/compare/v5.11.0...v5.11.1) (2024-05-21)
|
|
9
9
|
|
package/package.json
CHANGED
package/rpc/index.js
CHANGED
|
@@ -216,7 +216,7 @@ exports.default = {
|
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
name: 'asset_id',
|
|
219
|
-
type: '
|
|
219
|
+
type: 'AssetId',
|
|
220
220
|
isOptional: false,
|
|
221
221
|
},
|
|
222
222
|
{
|
|
@@ -364,7 +364,7 @@ exports.default = {
|
|
|
364
364
|
params: [
|
|
365
365
|
{
|
|
366
366
|
name: 'asset_id',
|
|
367
|
-
type: '
|
|
367
|
+
type: 'AssetId',
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
370
|
name: 'sender_identity',
|
package/runtime/assetApi/v4.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.AssetApiV4 = {
|
|
|
7
7
|
params: [
|
|
8
8
|
{ name: 'sender_portfolio', type: 'PortfolioId' },
|
|
9
9
|
{ name: 'receiver_portfolio', type: 'PortfolioId' },
|
|
10
|
-
{ name: 'asset_id', type: '
|
|
10
|
+
{ name: 'asset_id', type: 'AssetId' },
|
|
11
11
|
{ name: 'transfer_value', type: 'Balance' },
|
|
12
12
|
{ name: 'skip_locked_check', type: 'bool' },
|
|
13
13
|
],
|
|
@@ -5,7 +5,7 @@ exports.ComplianceApiV2 = {
|
|
|
5
5
|
compliance_report: {
|
|
6
6
|
description: 'Checks all compliance requirements for the given asset_id.',
|
|
7
7
|
params: [
|
|
8
|
-
{ name: 'asset_id', type: '
|
|
8
|
+
{ name: 'asset_id', type: 'AssetId' },
|
|
9
9
|
{ name: 'sender_identity', type: 'IdentityId' },
|
|
10
10
|
{ name: 'receiver_identity', type: 'IdentityId' },
|
|
11
11
|
],
|
package/types/7.0.x.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"AssetId": "[u8; 16]",
|
|
3
3
|
"IdentityId": "[u8; 32]",
|
|
4
4
|
"Ticker": "[u8; 12]",
|
|
5
5
|
"CddId": "[u8; 32]",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"AssetPermissions": {
|
|
9
9
|
"_enum": {
|
|
10
10
|
"Whole": "",
|
|
11
|
-
"These": "Vec<
|
|
12
|
-
"Except": "Vec<
|
|
11
|
+
"These": "Vec<AssetId>",
|
|
12
|
+
"Except": "Vec<AssetId>"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"PortfolioPermissions": {
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
"Scope": {
|
|
313
313
|
"_enum": {
|
|
314
314
|
"Identity": "IdentityId",
|
|
315
|
-
"Asset": "
|
|
315
|
+
"Asset": "AssetId",
|
|
316
316
|
"Custom": "Vec<u8>"
|
|
317
317
|
}
|
|
318
318
|
},
|
|
@@ -390,8 +390,7 @@
|
|
|
390
390
|
"authorization_data": "AuthorizationData",
|
|
391
391
|
"authorized_by": "IdentityId",
|
|
392
392
|
"expiry": "Option<Moment>",
|
|
393
|
-
"auth_id": "u64"
|
|
394
|
-
"count": "u32"
|
|
393
|
+
"auth_id": "u64"
|
|
395
394
|
},
|
|
396
395
|
"AuthorizationData": {
|
|
397
396
|
"_enum": {
|
|
@@ -399,10 +398,10 @@
|
|
|
399
398
|
"RotatePrimaryKey": "",
|
|
400
399
|
"TransferTicker": "Ticker",
|
|
401
400
|
"AddMultiSigSigner": "AccountId",
|
|
402
|
-
"TransferAssetOwnership": "
|
|
401
|
+
"TransferAssetOwnership": "AssetId",
|
|
403
402
|
"JoinIdentity": "Permissions",
|
|
404
403
|
"PortfolioCustody": "PortfolioId",
|
|
405
|
-
"BecomeAgent": "(
|
|
404
|
+
"BecomeAgent": "(AssetId, AgentGroup)",
|
|
406
405
|
"AddRelayerPayingKey": "(AccountId, AccountId, Balance)",
|
|
407
406
|
"RotatePrimaryKeyToSecondary": "Permissions"
|
|
408
407
|
}
|
|
@@ -570,13 +569,13 @@
|
|
|
570
569
|
},
|
|
571
570
|
"NFTId": "u64",
|
|
572
571
|
"NFTs": {
|
|
573
|
-
"asset_id": "
|
|
572
|
+
"asset_id": "AssetId",
|
|
574
573
|
"ids": "Vec<NFTId>"
|
|
575
574
|
},
|
|
576
575
|
"FungibleLeg": {
|
|
577
576
|
"sender": "PortfolioId",
|
|
578
577
|
"receiver": "PortfolioId",
|
|
579
|
-
"asset_id": "
|
|
578
|
+
"asset_id": "AssetId",
|
|
580
579
|
"amount": "Balance"
|
|
581
580
|
},
|
|
582
581
|
"NonFungibleLeg": {
|
|
@@ -587,7 +586,7 @@
|
|
|
587
586
|
"OffChainLeg": {
|
|
588
587
|
"sender_identity": "IdentityId",
|
|
589
588
|
"receiver_identity": "IdentityId",
|
|
590
|
-
"asset_id": "
|
|
589
|
+
"asset_id": "AssetId",
|
|
591
590
|
"amount": "Balance"
|
|
592
591
|
},
|
|
593
592
|
"Leg": {
|
package/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: ({
|
|
2
2
|
minmax: number[];
|
|
3
3
|
types: {
|
|
4
|
-
|
|
4
|
+
AssetId: string;
|
|
5
5
|
IdentityId: string;
|
|
6
6
|
Ticker: string;
|
|
7
7
|
CddId: string;
|
|
@@ -142,7 +142,6 @@ declare const _default: ({
|
|
|
142
142
|
authorized_by: string;
|
|
143
143
|
expiry: string;
|
|
144
144
|
auth_id: string;
|
|
145
|
-
count: string;
|
|
146
145
|
};
|
|
147
146
|
AuthorizationData: {
|
|
148
147
|
_enum: {
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAiDE"}
|