@audius/sdk 1.0.35 → 1.0.37
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/api/Account.d.ts +4 -4
- package/dist/api/Track.d.ts +4 -4
- package/dist/api/Users.d.ts +4 -5
- package/dist/index.cjs.js +176 -365
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +176 -365
- package/dist/index.esm.js.map +1 -1
- package/dist/legacy.js +176 -365
- package/dist/legacy.js.map +1 -1
- package/dist/native-libs.js +176 -365
- package/dist/native-libs.js.map +1 -1
- package/dist/sdk/api/generated/full/models/PremiumConditions.d.ts +6 -0
- package/dist/utils/types.d.ts +5 -0
- package/package.json +2 -2
- package/src/api/Account.ts +10 -31
- package/src/api/Track.ts +39 -88
- package/src/api/Users.ts +78 -196
- package/src/sanityChecks/rolloverNodes.ts +1 -5
- package/src/sdk/api/generated/full/models/PremiumConditions.ts +6 -0
- package/src/services/schemaValidator/schemas/trackSchema.json +19 -2
- package/src/utils/types.ts +5 -0
|
@@ -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": {
|
package/src/utils/types.ts
CHANGED
|
@@ -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 = {
|