@bosonprotocol/core-sdk 1.14.0-alpha.6 → 1.14.0-alpha.7
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/dist/cjs/core-sdk.d.ts +1 -1
- package/dist/cjs/core-sdk.js +1 -1
- package/dist/esm/core-sdk.d.ts +1 -1
- package/dist/esm/core-sdk.js +1 -1
- package/package.json +3 -3
- package/src/core-sdk.ts +1 -1
package/dist/cjs/core-sdk.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export declare class CoreSDK {
|
|
|
61
61
|
* Returns supported offer metadata from passed in `MetadataStorage` instance.
|
|
62
62
|
* @param metadataHashOrUri - Metadata hash or uri that can be handled by the
|
|
63
63
|
* storage instance.
|
|
64
|
-
* @returns
|
|
64
|
+
* @returns Offer metadata.
|
|
65
65
|
*/
|
|
66
66
|
getMetadata(metadataHashOrUri: string): Promise<AnyMetadata>;
|
|
67
67
|
/**
|
package/dist/cjs/core-sdk.js
CHANGED
|
@@ -110,7 +110,7 @@ class CoreSDK {
|
|
|
110
110
|
* Returns supported offer metadata from passed in `MetadataStorage` instance.
|
|
111
111
|
* @param metadataHashOrUri - Metadata hash or uri that can be handled by the
|
|
112
112
|
* storage instance.
|
|
113
|
-
* @returns
|
|
113
|
+
* @returns Offer metadata.
|
|
114
114
|
*/
|
|
115
115
|
getMetadata(metadataHashOrUri) {
|
|
116
116
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist/esm/core-sdk.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export declare class CoreSDK {
|
|
|
61
61
|
* Returns supported offer metadata from passed in `MetadataStorage` instance.
|
|
62
62
|
* @param metadataHashOrUri - Metadata hash or uri that can be handled by the
|
|
63
63
|
* storage instance.
|
|
64
|
-
* @returns
|
|
64
|
+
* @returns Offer metadata.
|
|
65
65
|
*/
|
|
66
66
|
getMetadata(metadataHashOrUri: string): Promise<AnyMetadata>;
|
|
67
67
|
/**
|
package/dist/esm/core-sdk.js
CHANGED
|
@@ -80,7 +80,7 @@ export class CoreSDK {
|
|
|
80
80
|
* Returns supported offer metadata from passed in `MetadataStorage` instance.
|
|
81
81
|
* @param metadataHashOrUri - Metadata hash or uri that can be handled by the
|
|
82
82
|
* storage instance.
|
|
83
|
-
* @returns
|
|
83
|
+
* @returns Offer metadata.
|
|
84
84
|
*/
|
|
85
85
|
async getMetadata(metadataHashOrUri) {
|
|
86
86
|
if (!this._metadataStorage) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bosonprotocol/core-sdk",
|
|
3
|
-
"version": "1.14.0-alpha.
|
|
3
|
+
"version": "1.14.0-alpha.7",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"access": "restricted"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@bosonprotocol/common": "^1.11.0-alpha.
|
|
36
|
+
"@bosonprotocol/common": "^1.11.0-alpha.8",
|
|
37
37
|
"@ethersproject/abi": "^5.5.0",
|
|
38
38
|
"@ethersproject/address": "^5.5.0",
|
|
39
39
|
"@ethersproject/bignumber": "^5.5.0",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"ts-jest": "^27.1.3",
|
|
55
55
|
"typescript": "^4.5.5"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "f5a111b3f28f2a539eef52306030b9a6337eaaab"
|
|
58
58
|
}
|
package/src/core-sdk.ts
CHANGED
|
@@ -114,7 +114,7 @@ export class CoreSDK {
|
|
|
114
114
|
* Returns supported offer metadata from passed in `MetadataStorage` instance.
|
|
115
115
|
* @param metadataHashOrUri - Metadata hash or uri that can be handled by the
|
|
116
116
|
* storage instance.
|
|
117
|
-
* @returns
|
|
117
|
+
* @returns Offer metadata.
|
|
118
118
|
*/
|
|
119
119
|
public async getMetadata(metadataHashOrUri: string): Promise<AnyMetadata> {
|
|
120
120
|
if (!this._metadataStorage) {
|