fragment-donor-sdk 0.1.0 → 0.1.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +8 -8
- data/lib/fragment_donor_sdk.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 277b55959c5914a004e06be762228e2bdd4ac79359fb00abbc3a1c14e2032e52
|
|
4
|
+
data.tar.gz: c62759d30f23c2b0eb7b734797c3a2f8bbe6f8bee1a7a81454b62c7d54237c31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dbd9ff53be9e57f6ac182bb2ac396460f6390aa7af4f257671eb8dbf9cf7a6961def329f4dd314f77d5d65dbf655facbdd6503dffd684a8383d35df4023c5ba4
|
|
7
|
+
data.tar.gz: 50d81409b7511ab76e32aa98c636878fdae810be6522263e2927a8a3f573caa7556098aa9fe303960b47f5d644d205dc203fa8bfee2d8285ed3fc431b953018b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
- Removed obsolete public header names and wallet-funding recommendations from
|
|
6
|
+
package documentation while preserving neutral credential-transmission facts.
|
|
7
|
+
- Refreshed package metadata and release artifacts for the corrected public text.
|
|
8
|
+
|
|
9
|
+
## 0.1.1
|
|
10
|
+
|
|
11
|
+
- Clarified that purchase requests transmit wallet mnemonic and Fragment
|
|
12
|
+
session/cookie data to the API operator, with server-side safety guidance.
|
|
13
|
+
- Refreshed package metadata, install examples, and release artifacts for the
|
|
14
|
+
corrected documentation.
|
|
15
|
+
|
|
3
16
|
## 0.1.0
|
|
4
17
|
|
|
5
18
|
- Initial four-method server-side API client with typed response structs.
|
data/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Fragment Donor Ruby SDK
|
|
2
2
|
|
|
3
3
|
Independent server-side Ruby 3.2+ client. Not an official Telegram, Fragment or
|
|
4
|
-
TON product.
|
|
4
|
+
TON product. Gem `fragment-donor-sdk` version `0.1.2`.
|
|
5
5
|
|
|
6
6
|
## Install
|
|
7
7
|
|
|
8
|
-
After publication: `gem install fragment-donor-sdk -v 0.1.
|
|
8
|
+
After publication: `gem install fragment-donor-sdk -v 0.1.2`.
|
|
9
9
|
Before publication: `gem build fragment-donor-sdk.gemspec`, then
|
|
10
|
-
`gem install --local fragment-donor-sdk-0.1.
|
|
10
|
+
`gem install --local fragment-donor-sdk-0.1.2.gem`.
|
|
11
11
|
|
|
12
12
|
## All four operations
|
|
13
13
|
|
|
@@ -42,8 +42,8 @@ if ENV["FRAGMENT_ALLOW_PURCHASES"] == "yes"
|
|
|
42
42
|
end
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
No service account
|
|
46
|
-
|
|
45
|
+
No service account or login is needed. Cookie and Mnemonic are purchase
|
|
46
|
+
credentials; balance needs only Mnemonic. `Api-Key` is
|
|
47
47
|
an optional TonConsole provider key. Stars: integer 50–1,000,000. Premium:
|
|
48
48
|
3/6/12 months. Payment: `usdt_ton` (backend default when omitted) or `ton`.
|
|
49
49
|
Wallet versions: `auto`, `v5r1`, `v4r2`, `v3r2`. Wallet address, Fragment Proxy
|
|
@@ -86,9 +86,9 @@ Injected transports must not retry or log credential-bearing requests.
|
|
|
86
86
|
Typed `UserInfo`, `Purchase`, `WalletBalance` preserve unknown fields in `extra`;
|
|
87
87
|
`ton`/`usdt_ton` are strings. Debug/JSON representations of Client/Credentials
|
|
88
88
|
are redacted and transport exception causes are discarded. Do not dump
|
|
89
|
-
arbitrary request or response internals.
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
arbitrary request or response internals. Purchase requests transmit the wallet
|
|
90
|
+
mnemonic and Fragment session/cookie to the API operator. SDK redaction applies
|
|
91
|
+
to client-side diagnostics only.
|
|
92
92
|
|
|
93
93
|
## Tests/build/release
|
|
94
94
|
|
data/lib/fragment_donor_sdk.rb
CHANGED