@nina-protocol/nina-db 0.0.13 → 0.0.15

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.
@@ -1,7 +1,7 @@
1
1
  import anchor from '@project-serum/anchor';
2
2
  import { Metaplex } from '@metaplex-foundation/js';
3
3
  import { Model } from 'objection';
4
- import { stripHtmlIfNeeded } from '../utils/index.js';
4
+ import { stripHtmlIfNeeded, tweetNewRelease } from '../utils/index.js';
5
5
  import Account from './Account.js';
6
6
  import Exchange from './Exchange.js';
7
7
  import Hub from './Hub.js';
@@ -68,7 +68,7 @@ export default class Release extends Model {
68
68
  publisherId,
69
69
  });
70
70
  await this.processRevenueShares(releaseAccount, release);
71
- // tweetNewRelease(metadata);
71
+ tweetNewRelease(metadata);
72
72
  console.log('Inserted Release: ', publicKey);
73
73
  return release;
74
74
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nina-protocol/nina-db",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "description": "",
5
5
  "source": "src/index.js",
6
6
  "main": "dist/index.js",
@@ -1,7 +1,7 @@
1
1
  import anchor from '@project-serum/anchor';
2
2
  import { Metaplex } from '@metaplex-foundation/js';
3
3
  import { Model } from 'objection';
4
- import { stripHtmlIfNeeded }from '../utils/index.js';
4
+ import { stripHtmlIfNeeded, tweetNewRelease }from '../utils/index.js';
5
5
  import Account from './Account.js';
6
6
  import Exchange from './Exchange.js';
7
7
  import Hub from './Hub.js';
@@ -78,7 +78,7 @@ export default class Release extends Model {
78
78
  publisherId,
79
79
  })
80
80
  await this.processRevenueShares(releaseAccount, release);
81
- // tweetNewRelease(metadata);
81
+ tweetNewRelease(metadata);
82
82
  console.log('Inserted Release: ', publicKey)
83
83
  return release;
84
84
  }