@ton/blueprint 0.20.0 → 0.21.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/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.21.0] - 2024-05-27
9
+
10
+ ### Changed
11
+
12
+ - Changed `contract.tact.template` counter template to return remaining value from the message
13
+ - Updated TON Connect manifest
14
+
8
15
  ## [0.20.0] - 2024-05-07
9
16
 
10
17
  ### Added
@@ -44,7 +44,7 @@ class TonConnectProvider {
44
44
  _TonConnectProvider_ui.set(this, void 0);
45
45
  __classPrivateFieldSet(this, _TonConnectProvider_connector, new sdk_1.default({
46
46
  storage: new TonConnectStorage(storage),
47
- manifestUrl: 'https://raw.githubusercontent.com/ton-defi-org/tonconnect-manifest-temp/main/tonconnect-manifest.json',
47
+ manifestUrl: 'https://raw.githubusercontent.com/ton-org/blueprint/main/tonconnect/manifest.json',
48
48
  }), "f");
49
49
  __classPrivateFieldSet(this, _TonConnectProvider_ui, ui, "f");
50
50
  }
@@ -17,6 +17,9 @@ contract {{name}} with Deployable {
17
17
 
18
18
  receive(msg: Add) {
19
19
  self.counter += msg.amount;
20
+
21
+ // Notify the caller that the receiver was executed and forward remaining value back
22
+ self.notify("Cashback".asComment());
20
23
  }
21
24
 
22
25
  get fun counter(): Int {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ton/blueprint",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Framework for development of TON smart contracts",
5
5
  "main": "dist/index.js",
6
6
  "bin": "./dist/cli/cli.js",