@nina-protocol/nina-db 0.0.8 → 0.0.10
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/utils/index.js +1 -1
- package/package.json +1 -1
- package/src/utils/index.js +1 -1
package/dist/utils/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export const decode = (byteArray) => {
|
|
|
17
17
|
export const tweetNewRelease = async (metadata) => {
|
|
18
18
|
if (process.env.TWITTER_API_SECRET) {
|
|
19
19
|
try {
|
|
20
|
-
await
|
|
20
|
+
await new Promise(resolve => setTimeout(resolve, 60000));
|
|
21
21
|
const client = new TwitterApi({
|
|
22
22
|
appKey: process.env.TWITTER_API_KEY,
|
|
23
23
|
appSecret: process.env.TWITTER_API_SECRET,
|
package/package.json
CHANGED
package/src/utils/index.js
CHANGED
|
@@ -21,7 +21,7 @@ export const decode = (byteArray) => {
|
|
|
21
21
|
export const tweetNewRelease = async (metadata) => {
|
|
22
22
|
if (process.env.TWITTER_API_SECRET) {
|
|
23
23
|
try {
|
|
24
|
-
await
|
|
24
|
+
await new Promise(resolve => setTimeout(resolve, 60000))
|
|
25
25
|
const client = new TwitterApi({
|
|
26
26
|
appKey: process.env.TWITTER_API_KEY,
|
|
27
27
|
appSecret: process.env.TWITTER_API_SECRET,
|