@audius/sdk 1.0.35 → 1.0.36

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.
@@ -27,4 +27,10 @@ export interface PremiumConditions {
27
27
  * @memberof PremiumConditions
28
28
  */
29
29
  follow_user_id?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof PremiumConditions
34
+ */
35
+ tip_user_id?: number;
30
36
  }
@@ -79,10 +79,15 @@ export declare type PremiumConditionsEthNFTCollection = {
79
79
  chain: 'eth';
80
80
  standard: TokenStandard;
81
81
  address: string;
82
+ name: string;
83
+ slug: string;
84
+ externalLink: Nullable<string>;
82
85
  };
83
86
  export declare type PremiumConditionsSolNFTCollection = {
84
87
  chain: 'sol';
85
88
  address: string;
89
+ name: string;
90
+ externalLink: Nullable<string>;
86
91
  };
87
92
  export declare type PremiumConditions = {
88
93
  nft_collection?: PremiumConditionsEthNFTCollection | PremiumConditionsSolNFTCollection;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@audius/sdk",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "audius": {
5
- "releaseSHA": "e40315da81c1fcf7d1d43d1b7a4bcefc5d1243d1"
5
+ "releaseSHA": "f5d39ff9c22d1fe9b5ca9c14261a1690575af34d"
6
6
  },
7
7
  "description": "",
8
8
  "main": "dist/index.cjs.js",
@@ -32,6 +32,12 @@ export interface PremiumConditions
32
32
  * @memberof PremiumConditions
33
33
  */
34
34
  follow_user_id?: number;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof PremiumConditions
39
+ */
40
+ tip_user_id?: number;
35
41
  }
36
42
 
37
43
 
@@ -312,9 +312,19 @@
312
312
  },
313
313
  "standard": {
314
314
  "enum": ["ERC721", "ERC1155"]
315
+ },
316
+ "name": {
317
+ "type": "string"
318
+ },
319
+ "slug": {
320
+ "type": "string"
321
+ },
322
+ "externalLink": {
323
+ "type": ["string", "null"],
324
+ "default": null
315
325
  }
316
326
  },
317
- "required": ["chain", "address", "standard"],
327
+ "required": ["chain", "address", "standard", "name", "slug"],
318
328
  "title": "PremiumConditionsEthNFTCollection"
319
329
  },
320
330
  "PremiumConditionsSolNFTCollection": {
@@ -327,9 +337,16 @@
327
337
  },
328
338
  "address": {
329
339
  "type": "string"
340
+ },
341
+ "name": {
342
+ "type": "string"
343
+ },
344
+ "externalLink": {
345
+ "type": ["string", "null"],
346
+ "default": null
330
347
  }
331
348
  },
332
- "required": ["chain", "address"],
349
+ "required": ["chain", "address", "name"],
333
350
  "title": "PremiumConditionsSolNFTCollection"
334
351
  },
335
352
  "PremiumConditionsFollowUserId": {
@@ -92,11 +92,16 @@ export type PremiumConditionsEthNFTCollection = {
92
92
  chain: 'eth'
93
93
  standard: TokenStandard
94
94
  address: string
95
+ name: string
96
+ slug: string
97
+ externalLink: Nullable<string>
95
98
  }
96
99
 
97
100
  export type PremiumConditionsSolNFTCollection = {
98
101
  chain: 'sol'
99
102
  address: string
103
+ name: string
104
+ externalLink: Nullable<string>
100
105
  }
101
106
 
102
107
  export type PremiumConditions = {