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 +1 -1
- package/dist/config.js +3 -3
- package/dist/config.js.map +1 -1
- package/dist/test.js.map +1 -1
- package/package.json +1 -1
- package/.env +0 -3
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
|
|
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:
|
|
14
|
-
BLOCK_CHECK_INTERVAL:
|
|
13
|
+
LAST_BLOCK_NUMBER: 0,
|
|
14
|
+
BLOCK_CHECK_INTERVAL: 500,
|
|
15
15
|
BLOCKS_BEHIND_WARNING: 25,
|
|
16
|
-
API_NODES: ['https://
|
|
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
|
package/dist/config.js.map
CHANGED
|
@@ -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,
|
|
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,
|
|
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
package/.env
DELETED