hive-stream 2.0.5 → 2.0.6

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/README.md CHANGED
@@ -161,7 +161,7 @@ This will match a registered contract called `hivedice` and inside of the contra
161
161
 
162
162
  ## Time-based Actions
163
163
 
164
- It's like a cron job for your contracts. Time-based actions allow you to execute contract functions over a wide variety of different time periods. Want to call a function every 3 seconds block time or want to call a function once per day? Time-based actions are an easy way to run time code.
164
+ It's like a cron job for your contracts. Time-based actions allow you to execute contract functions over a wide variety of different periods. Want to call a function every 3 seconds block time or want to call a function once per day? Time-based actions are an easy way to run time code.
165
165
 
166
166
  The following example will run a contract action every 30 seconds. All you do is register a new `TimeAction` instance.
167
167
 
package/dist/config.js CHANGED
@@ -10,10 +10,10 @@ exports.Config = {
10
10
  APP_NAME: 'steem-stream',
11
11
  PAYLOAD_IDENTIFIER: 'hivePayload',
12
12
  USERNAME: '',
13
- LAST_BLOCK_NUMBER: 42203941,
14
- BLOCK_CHECK_INTERVAL: 1000,
13
+ LAST_BLOCK_NUMBER: 0,
14
+ BLOCK_CHECK_INTERVAL: 500,
15
15
  BLOCKS_BEHIND_WARNING: 25,
16
- API_NODES: ['https://anyx.io', 'https://api.hive.blog'],
16
+ API_NODES: ['https://api.hive.blog', 'https://api.openhive.network', 'https://rpc.ausbit.dev'],
17
17
  DEBUG_MODE: true,
18
18
  };
19
19
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;;AAgBa,QAAA,MAAM,GAAoB;IACnC,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU;IAClC,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW;IAEpC,OAAO,EAAE,YAAY;IAErB,eAAe,EAAE,iCAAiC;IAClD,cAAc,EAAE,kBAAkB;IAElC,QAAQ,EAAE,cAAc;IAExB,kBAAkB,EAAE,aAAa;IAEjC,QAAQ,EAAE,EAAE;IAEZ,iBAAiB,EAAE,QAAQ;IAE3B,oBAAoB,EAAE,IAAI;IAC1B,qBAAqB,EAAE,EAAE;IAEzB,SAAS,EAAE,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;IAEvD,UAAU,EAAE,IAAI;CACnB,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;;AAgBa,QAAA,MAAM,GAAoB;IACnC,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU;IAClC,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW;IAEpC,OAAO,EAAE,YAAY;IAErB,eAAe,EAAE,iCAAiC;IAClD,cAAc,EAAE,kBAAkB;IAElC,QAAQ,EAAE,cAAc;IAExB,kBAAkB,EAAE,aAAa;IAEjC,QAAQ,EAAE,EAAE;IAEZ,iBAAiB,EAAE,CAAC;IAEpB,oBAAoB,EAAE,GAAG;IACzB,qBAAqB,EAAE,EAAE;IAEzB,SAAS,EAAE,CAAC,uBAAuB,EAAE,8BAA8B,EAAE,wBAAwB,CAAC;IAE9F,UAAU,EAAE,IAAI;CACnB,CAAC"}
package/dist/test.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"test.js","sourceRoot":"","sources":["../src/test.ts"],"names":[],"mappings":";;;;;AAAA,qEAAiE;AACjE,oDAA4B;AAC5B,gBAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,yCAAsC;AACtC,6DAAyD;AAEzD,8DAA0D;AAO1D,MAAM,QAAQ,GAAG,IAAI,mBAAQ,CAAC;IAC1B,OAAO,EAAE,YAAY;IACrB,kBAAkB,EAAE,aAAa;CACpC,CAAC,CAAC;AAEH,QAAQ,CAAC,eAAe,CAAC,IAAI,8BAAa,EAAE,CAAC,CAAC;AAC9C,0FAA0F;AAE1F,oBAAoB;AACpB,QAAQ,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,4BAAY,EAAE,CAAC,CAAC;AAC1D,QAAQ,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,oCAAgB,EAAE,CAAC,CAAA;AAE7D,kBAAkB;AAClB,QAAQ,CAAC,KAAK,EAAE,CAAC;AAEjB,iCAAiC;AACjC,uBAAuB;AACvB,MAAM"}
1
+ {"version":3,"file":"test.js","sourceRoot":"","sources":["../src/test.ts"],"names":[],"mappings":";;;;;AAAA,qEAAiE;AACjE,oDAA4B;AAC5B,gBAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,yCAAsC;AACtC,6DAAyD;AAEzD,8DAA0D;AAO1D,MAAM,QAAQ,GAAG,IAAI,mBAAQ,CAAC;IAC1B,OAAO,EAAE,YAAY;IACrB,kBAAkB,EAAE,aAAa;CACpC,CAAC,CAAC;AAEH,QAAQ,CAAC,eAAe,CAAC,IAAI,8BAAa,EAAE,CAAC,CAAC;AAC9C,0FAA0F;AAE1F,oBAAoB;AACpB,QAAQ,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,4BAAY,EAAE,CAAC,CAAC;AAC1D,QAAQ,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,oCAAgB,EAAE,CAAC,CAAC;AAE9D,kBAAkB;AAClB,QAAQ,CAAC,KAAK,EAAE,CAAC;AAEjB,iCAAiC;AACjC,uBAAuB;AACvB,MAAM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hive-stream",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "A layer for streaming actions on the Hive blockchain and reacting to them.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/.env DELETED
@@ -1,3 +0,0 @@
1
- ACTIVE_KEY=5JBKcb9nNUDcuCgXyLYNdR1uR38nk1id3cwGGFtDTo443BB1By9
2
- POSTING_KEY=5KFthvokvn22PYAiCBbPPwTeTsULHuX7DNDHjNkapzJsx7T5qiT
3
- EXCHANGE_RATE_API_KEY=7d20br5S3MM3K8dhsasNpVRCvkZJ465c