create-near-app 5.1.2 → 5.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-near-app",
3
- "version": "5.1.2",
3
+ "version": "5.2.0",
4
4
  "description": "Quickly scaffold your dApp on NEAR Blockchain",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -10,9 +10,10 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "near-cli": "^3.4.0",
13
- "near-sdk-js": "0.5.0"
13
+ "near-sdk-js": "0.6.0"
14
14
  },
15
15
  "devDependencies": {
16
- "typescript": "^4.7.4"
16
+ "typescript": "^4.7.4",
17
+ "ts-morph": "^16.0.0"
17
18
  }
18
19
  }
@@ -78,7 +78,7 @@ near view <dev-account> get_greeting
78
78
 
79
79
  ```bash
80
80
  # Use near-cli to set a new greeting
81
- near call <dev-account> set_greeting '{"greeting":"howdy"}' --accountId <dev-account>
81
+ near call <dev-account> set_greeting '{"message":"howdy"}' --accountId <dev-account>
82
82
  ```
83
83
 
84
84
  **Tip:** If you would like to call `set_greeting` using your own account, first login into NEAR using: