@eluvio/elv-client-js 3.1.68 → 3.1.72

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.
@@ -426,6 +426,33 @@ const eventSiteSpec = {
426
426
  "name": "stream_page",
427
427
  "type": "subsection"
428
428
  },
429
+ {
430
+ "name": "footer_links",
431
+ "type": "list",
432
+ "hint": "Specify links to include in the footer of the event, such as privacy or terms policies. Each item can either be specified as a URL, rich text, or an HTML document. The two latter options will be shown in a modal when clicked.",
433
+ "fields": [
434
+ {
435
+ "name": "text",
436
+ "type": "text"
437
+ },
438
+ {
439
+ "name": "url",
440
+ "label": "URL Link",
441
+ "type": "text"
442
+ },
443
+ {
444
+ "label": "Content (Rich Text)",
445
+ "name": "content_rich_text",
446
+ "type": "rich_text"
447
+ },
448
+ {
449
+ "label": "Content (HTML)",
450
+ "name": "content_html",
451
+ "type": "file",
452
+ "extensions": ["html"]
453
+ }
454
+ ]
455
+ },
429
456
  {
430
457
  "fields": [
431
458
  {
@@ -116,6 +116,11 @@ const MarketplaceSpec = {
116
116
  "label": "Purchase Limit",
117
117
  "type": "integer"
118
118
  },
119
+ {
120
+ "name": "free",
121
+ "type": "checkbox",
122
+ "hint": "If checked, this NFT will be free to claim. WARNING: This option will override any price value set below"
123
+ },
119
124
  {
120
125
  "name": "price",
121
126
  "type": "reference_subsection",
@@ -153,6 +158,29 @@ const MarketplaceSpec = {
153
158
  "name": "subheader",
154
159
  "type": "text"
155
160
  },
161
+ {
162
+ "name": "purchase_animation",
163
+ "type": "fabric_link",
164
+ "video_preview": true,
165
+ "hint": "If specified, this video will play on the status screen after a purchase is made until minting is complete"
166
+ },
167
+ {
168
+ "name": "tabs",
169
+ "type": "subsection",
170
+ "fields": [
171
+ {
172
+ "name": "store",
173
+ "type": "text",
174
+ "default_value": "Store"
175
+ },
176
+ {
177
+ "name": "collection",
178
+ "label": "My Items",
179
+ "type": "text",
180
+ "default_value": "My Items"
181
+ }
182
+ ]
183
+ },
156
184
  {
157
185
  "name": "sections",
158
186
  "type": "list",
@@ -188,19 +216,55 @@ const MarketplaceSpec = {
188
216
  "name": "collection_subheader",
189
217
  "type": "text"
190
218
  },
219
+ {
220
+ "extensions": imageTypes,
221
+ "name": "collection_icon",
222
+ "type": "file"
223
+ },
224
+ {
225
+ "name": "placeholder",
226
+ "type": "subsection",
227
+ "hint": "Used for explicitly unspecified item slots (<None>). Will not override item definitions.",
228
+ "fields": [
229
+ {
230
+ "name": "name",
231
+ "type": "text"
232
+ },
233
+ {
234
+ "name": "description",
235
+ "type": "text"
236
+ },
237
+ {
238
+ "extensions": imageTypes,
239
+ "name": "image",
240
+ "type": "file"
241
+ }
242
+ ]
243
+ },
191
244
  {
192
245
  "name": "items",
193
246
  "type": "reference_multiselect",
194
247
  "reference": "/items",
195
248
  "label_key": "name",
196
- "value_key": "sku"
249
+ "value_key": "sku",
250
+ "allow_null": true
197
251
  }
198
252
  ]
199
253
  },
200
254
  {
201
255
  "name": "login_customization",
256
+ "label": "Custom Branding",
202
257
  "type": "subsection",
203
258
  "fields": [
259
+ {
260
+ "name": "font",
261
+ "type": "select",
262
+ "options": [
263
+ "Helvetica Neue",
264
+ "Inter",
265
+ "Selawik"
266
+ ]
267
+ },
204
268
  {
205
269
  "name": "logo",
206
270
  "type": "file",
@@ -217,6 +281,11 @@ const MarketplaceSpec = {
217
281
  "type": "file",
218
282
  "extensions": imageTypes
219
283
  },
284
+ {
285
+ "name": "large_logo_mode",
286
+ "type": "checkbox",
287
+ "hint": "If specified, the logo in the login box will be significantly larger, but *the background image will NOT be visible in the Live app*."
288
+ },
220
289
  {
221
290
  "name": "log_in_button",
222
291
  "type": "subsection",
@@ -277,6 +346,12 @@ const MarketplaceSpec = {
277
346
  }
278
347
  ]
279
348
  },
349
+ {
350
+ "name": "disable_third_party",
351
+ "label": "Disable third party login providers",
352
+ "type": "checkbox",
353
+ "default_value": false
354
+ },
280
355
  {
281
356
  "name": "disable_private_key",
282
357
  "label": "Disable Private Key Login",
@@ -289,12 +364,6 @@ const MarketplaceSpec = {
289
364
  "label": "Terms and Conditions",
290
365
  "name": "terms",
291
366
  "type": "rich_text"
292
- },
293
- {
294
- "label": "Terms and Conditions (HTML)",
295
- "name": "terms_html",
296
- "type": "file",
297
- "extensions": ["html"]
298
367
  }
299
368
  ]
300
369
  };
@@ -89,6 +89,10 @@ const NFTTemplateSpec = {
89
89
  "name": "description",
90
90
  "type": "textarea"
91
91
  },
92
+ {
93
+ "name": "rich_text",
94
+ "type": "rich_text"
95
+ },
92
96
  {
93
97
  "name": "address",
94
98
  "label": "NFT Contract Address",
@@ -136,14 +140,24 @@ const NFTTemplateSpec = {
136
140
  "label": "Embed URL",
137
141
  "type": "self_embed_url",
138
142
  "version": true,
139
- "auto_update": true
143
+ "auto_update": true,
144
+ // Player options
145
+ "loop": true,
146
+ "hide_controls": true,
147
+ "muted": true,
148
+ "autoplay": true
140
149
  },
141
150
  {
142
151
  "name": "external_url",
143
152
  "label": "External URL",
144
153
  "type": "self_embed_url",
145
154
  "version": true,
146
- "auto_update": true
155
+ "auto_update": true,
156
+ // Player options
157
+ "loop": true,
158
+ "hide_controls": true,
159
+ "muted": true,
160
+ "autoplay": true
147
161
  },
148
162
  {
149
163
  "name": "background_color",
@@ -166,7 +180,12 @@ const NFTTemplateSpec = {
166
180
  "name": "youtube_url",
167
181
  "type": "self_embed_url",
168
182
  "version": true,
169
- "auto_update": true
183
+ "auto_update": true,
184
+ // Player options
185
+ "loop": true,
186
+ "hide_controls": true,
187
+ "muted": true,
188
+ "autoplay": true
170
189
  }
171
190
  ]
172
191
  },
@@ -126,7 +126,7 @@ class ChannelCreate extends Utility {
126
126
  logger.log("Mezzanine item parameter checks passed.");
127
127
 
128
128
  // create new object
129
- let metadata = {public: {name}};
129
+ let metadata = {public: {name, asset_metadata:{}}};
130
130
 
131
131
  logger.log("\nCreating new channel object...");
132
132
 
@@ -175,7 +175,7 @@ class ChannelCreate extends Utility {
175
175
  }
176
176
 
177
177
  metadata.channel = channelMeta;
178
- metadata.public.offerings = {"/": "./rep/channel/options.json"};
178
+ metadata.public.asset_metadata.offerings = {"/": "./rep/channel/options.json"};
179
179
 
180
180
 
181
181
  // Write back metadata