@bosonprotocol/core-sdk 1.14.0-alpha.6 → 1.14.0-alpha.8

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.
@@ -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 Metadata hash / identifier.
64
+ * @returns Offer metadata.
65
65
  */
66
66
  getMetadata(metadataHashOrUri: string): Promise<AnyMetadata>;
67
67
  /**
@@ -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 Metadata hash / identifier.
113
+ * @returns Offer metadata.
114
114
  */
115
115
  getMetadata(metadataHashOrUri) {
116
116
  return __awaiter(this, void 0, void 0, function* () {
@@ -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 Metadata hash / identifier.
64
+ * @returns Offer metadata.
65
65
  */
66
66
  getMetadata(metadataHashOrUri: string): Promise<AnyMetadata>;
67
67
  /**
@@ -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 Metadata hash / identifier.
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.6",
3
+ "version": "1.14.0-alpha.8",
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.7",
36
+ "@bosonprotocol/common": "^1.11.0-alpha.9",
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": "9b5bf0b3ea0f1b31a011fe6e4cece8ce6fd07dcd"
57
+ "gitHead": "5603a1a457be1ee3671cd6ac22e8d59192da20a3"
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 Metadata hash / identifier.
117
+ * @returns Offer metadata.
118
118
  */
119
119
  public async getMetadata(metadataHashOrUri: string): Promise<AnyMetadata> {
120
120
  if (!this._metadataStorage) {