@nina-protocol/nina-db 0.0.74 → 0.0.75

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.
@@ -16,7 +16,7 @@ export default class Release extends Model {
16
16
  static idColumn = 'id';
17
17
  static jsonSchema = {
18
18
  type: 'object',
19
- required: ['publicKey', 'mint', 'metadata', 'datetime', 'slug', 'price', 'archived'],
19
+ required: ['publicKey', 'mint', 'metadata', 'datetime', 'slug', 'price'],
20
20
  properties: {
21
21
  publicKey: { type: 'string' },
22
22
  mint: { type: 'string' },
@@ -96,6 +96,7 @@ export default class Release extends Model {
96
96
  publisherId,
97
97
  price: `${price}`,
98
98
  paymentMint,
99
+ archived: false
99
100
  });
100
101
  if (metadata.properties.tags) {
101
102
  for await (let tag of metadata.properties.tags) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nina-protocol/nina-db",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "description": "",
5
5
  "source": "src/index.js",
6
6
  "main": "dist/index.js",
@@ -18,7 +18,7 @@ export default class Release extends Model {
18
18
  static idColumn = 'id';
19
19
  static jsonSchema = {
20
20
  type: 'object',
21
- required: ['publicKey', 'mint', 'metadata', 'datetime', 'slug', 'price', 'archived'],
21
+ required: ['publicKey', 'mint', 'metadata', 'datetime', 'slug', 'price'],
22
22
  properties: {
23
23
  publicKey: { type: 'string' },
24
24
  mint: { type: 'string' },
@@ -107,6 +107,7 @@ export default class Release extends Model {
107
107
  publisherId,
108
108
  price: `${price}`,
109
109
  paymentMint,
110
+ archived: false
110
111
  })
111
112
  if (metadata.properties.tags) {
112
113
  for await (let tag of metadata.properties.tags) {