@0xward/nullstate-logic 1.1.3 → 1.1.4

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.
Files changed (2) hide show
  1. package/index.js +1 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2,7 +2,6 @@
2
2
  // Core execution state machine for the NullState decentralized RPG on Celo
3
3
  // Permanent death. Real stakes. On-chain glory.
4
4
 
5
- const CELO_PROVIDER_DEFAULT = Buffer.from('aHR0cHM6Ly9mb3Juby5jZWxvLm9yZw==', 'base64').toString('utf8');
6
5
  const MIN_ACTION_PAYMENT = 0.01; // CELO
7
6
  const MAX_GLORY_POINTS = 9999;
8
7
 
@@ -26,7 +25,7 @@ class NullStateEngine {
26
25
  constructor(config = {}) {
27
26
  this.providerUrl = config.providerUrl || CELO_PROVIDER_DEFAULT;
28
27
  this.network = config.network || "celo";
29
- this.version = "1.0.7";
28
+ this.version = "1.1.4";
30
29
  this._validateConfig();
31
30
  }
32
31
 
@@ -144,7 +143,6 @@ class NullStateEngine {
144
143
  celoSpent: amount,
145
144
  gloryEarned,
146
145
  log: `Action "${action}" permanently recorded on Celo at block ${blockNum}.`,
147
- explorerUrl: Buffer.from('aHR0cHM6Ly9leHBsb3Jlci5jZWxvLm9yZy90eC8=', 'base64').toString('utf8') + txHash,
148
146
  timestamp: new Date().toISOString(),
149
147
  };
150
148
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xward/nullstate-logic",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "The first AI dungeon master RPG deployed on Celo. Pay 0.01 Celo to act. Permanent death, on-chain glory.",
5
5
  "main": "index.js",
6
6
  "keywords": [