@peaqnetwork/type-definitions
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -11,2 +11,3 @@ "use strict"; | ||
var _peaqdid = _interopRequireDefault(require("./peaqdid")); | ||
var _peaqstorage = _interopRequireDefault(require("./peaqstorage")); | ||
var _peaq = _interopRequireDefault(require("./spec/peaq")); | ||
@@ -19,3 +20,4 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
const peaqDefs = { | ||
peaqdid: _peaqdid.default | ||
peaqdid: _peaqdid.default, | ||
peaqstorage: _peaqstorage.default | ||
}; | ||
@@ -22,0 +24,0 @@ const types = _objectSpread(_objectSpread(_objectSpread({}, _ormlTypeDefinitions.types), (0, _utils.typesFromDefs)(peaqDefs)), additionalOverride); |
@@ -73,3 +73,29 @@ { | ||
} | ||
}, | ||
"peaqstorage": { | ||
"readAttribute": { | ||
"description": "Read attribute", | ||
"params": [ | ||
{ | ||
"name": "didAccount", | ||
"type": "AccountId" | ||
}, | ||
{ | ||
"name": "itemType", | ||
"type": "Bytes" | ||
}, | ||
{ | ||
"name": "at", | ||
"type": "BlockHash", | ||
"isHistoric": true, | ||
"isOptional": true | ||
} | ||
], | ||
"type": "Option<StorageRpcResult>", | ||
"isSubscription": false, | ||
"jsonrpc": "peaqstorage_readAttribute", | ||
"method": "readAttribute", | ||
"section": "peaqstorage" | ||
} | ||
} | ||
} |
@@ -79,3 +79,6 @@ { | ||
}, | ||
"StorageRpcResult": { | ||
"item": "Bytes" | ||
}, | ||
"Keys": "SessionKeys1" | ||
} |
@@ -76,2 +76,28 @@ { | ||
} | ||
}, | ||
"peaqstorage": { | ||
"readAttribute": { | ||
"description": "Read attribute", | ||
"params": [ | ||
{ | ||
"name": "didAccount", | ||
"type": "AccountId" | ||
}, | ||
{ | ||
"name": "itemType", | ||
"type": "Bytes" | ||
}, | ||
{ | ||
"name": "at", | ||
"type": "BlockHash", | ||
"isHistoric": true, | ||
"isOptional": true | ||
} | ||
], | ||
"type": "Option<StorageRpcResult>", | ||
"isSubscription": false, | ||
"jsonrpc": "peaqstorage_readAttribute", | ||
"method": "readAttribute", | ||
"section": "peaqstorage" | ||
} | ||
} | ||
@@ -163,2 +189,5 @@ }, | ||
}, | ||
"StorageRpcResult": { | ||
"item": "Bytes" | ||
}, | ||
"Keys": "SessionKeys1" | ||
@@ -165,0 +194,0 @@ } |
{ | ||
"name": "@peaqnetwork/type-definitions", | ||
"version": "0.0.1", | ||
"version": "0.0.3", | ||
"description": "Polkadot.js type definations for peaqnetwork", | ||
"main": "index.js", | ||
"main": "build/index.js", | ||
"author": "Jay Pan <pan@eotlabs.io>", | ||
@@ -7,0 +7,0 @@ "license": "Apache-2.0", |
@@ -12,4 +12,4 @@ "use strict"; | ||
name: '@peaqnetwork/type-definitions', | ||
version: '0.0.1' | ||
version: '0.0.2' | ||
}; | ||
exports.packageInfo = packageInfo; |
{ | ||
"name": "@peaqnetwork/type-definitions", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Polkadot.js type definations for peaqnetwork", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -9,2 +9,3 @@ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ | ||
import peaqdid from './peaqdid'; | ||
import peaqstorage from './peaqstorage'; | ||
@@ -18,3 +19,4 @@ import peaqVersioned from './spec/peaq'; | ||
const peaqDefs = { | ||
peaqdid | ||
peaqdid, | ||
peaqstorage | ||
}; | ||
@@ -21,0 +23,0 @@ |
@@ -73,3 +73,29 @@ { | ||
} | ||
}, | ||
"peaqstorage": { | ||
"readAttribute": { | ||
"description": "Read attribute", | ||
"params": [ | ||
{ | ||
"name": "didAccount", | ||
"type": "AccountId" | ||
}, | ||
{ | ||
"name": "itemType", | ||
"type": "Bytes" | ||
}, | ||
{ | ||
"name": "at", | ||
"type": "BlockHash", | ||
"isHistoric": true, | ||
"isOptional": true | ||
} | ||
], | ||
"type": "Option<StorageRpcResult>", | ||
"isSubscription": false, | ||
"jsonrpc": "peaqstorage_readAttribute", | ||
"method": "readAttribute", | ||
"section": "peaqstorage" | ||
} | ||
} | ||
} |
@@ -79,3 +79,6 @@ { | ||
}, | ||
"StorageRpcResult": { | ||
"item": "Bytes" | ||
}, | ||
"Keys": "SessionKeys1" | ||
} |
@@ -76,2 +76,28 @@ { | ||
} | ||
}, | ||
"peaqstorage": { | ||
"readAttribute": { | ||
"description": "Read attribute", | ||
"params": [ | ||
{ | ||
"name": "didAccount", | ||
"type": "AccountId" | ||
}, | ||
{ | ||
"name": "itemType", | ||
"type": "Bytes" | ||
}, | ||
{ | ||
"name": "at", | ||
"type": "BlockHash", | ||
"isHistoric": true, | ||
"isOptional": true | ||
} | ||
], | ||
"type": "Option<StorageRpcResult>", | ||
"isSubscription": false, | ||
"jsonrpc": "peaqstorage_readAttribute", | ||
"method": "readAttribute", | ||
"section": "peaqstorage" | ||
} | ||
} | ||
@@ -163,2 +189,5 @@ }, | ||
}, | ||
"StorageRpcResult": { | ||
"item": "Bytes" | ||
}, | ||
"Keys": "SessionKeys1" | ||
@@ -165,0 +194,0 @@ } |
@@ -6,2 +6,2 @@ // Copyright 2017-2023 @peaqnetworktype-definitions authors & contributors | ||
export const packageInfo = { name: '@peaqnetwork/type-definitions', version: '0.0.1' }; | ||
export const packageInfo = { name: '@peaqnetwork/type-definitions', version: '0.0.2' }; |
@@ -6,4 +6,3 @@ import type { OverrideVersionedType } from '@polkadot/types/types'; | ||
minmax: [0, undefined], | ||
types: { | ||
} | ||
types: {} | ||
} | ||
@@ -10,0 +9,0 @@ ]; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48383
23
1043