didit-sdk 2.28.0 → 2.30.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +1 -1
- data/lib/didit/resources/bank.rb +781 -0
- data/lib/didit/resources/messages.rb +299 -0
- data/lib/didit/resources/pricing.rb +3 -3
- data/lib/didit/resources/travel_rule.rb +2 -2
- data/lib/didit/resources.rb +6 -0
- data/lib/didit/types/bank.rb +126 -0
- data/lib/didit/types/components.rb +1219 -12
- data/lib/didit/types/messages.rb +38 -0
- data/lib/didit/types.rb +133 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/resources/bank.rbs +19 -0
- data/sig/didit/resources/messages.rbs +16 -0
- data/sig/didit/resources.rbs +1 -0
- data/sig/didit/types/bank.rbs +115 -0
- data/sig/didit/types/components.rbs +1093 -23
- data/sig/didit/types/messages.rbs +40 -0
- metadata +5 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2879af83ff330c43bf51c0d2a6b9cd17ad6963efc5d0be99b7c147613c26b5ed
|
|
4
|
+
data.tar.gz: b627a005c08687783f35d4f5ed6b5db194dca7b8b4ccb63e01dd42951ae4944c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c812ee201a3fa242a1fbb954dfdaa08159df873cf64cf11180193753b6ae4947a9005998c1451f9b1ad2cbc0721ddbec5c119a814935f469a4b08acb5f4a14c0
|
|
7
|
+
data.tar.gz: 2bd3ac9272f0b22430edabc564c3316054ab3c740fdb07649ae6a79bc7e589e81c3b14f2db8638c573c36a13896495f368c5dc307fa04ec9cd308240fc0a6aed
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.30.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.29.0...v2.30.0) (2026-11-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **spec:** sync API spec 2026-11-22 ([25908ef](https://github.com/didit-protocol/sdk-ruby/commit/25908ef35bcfd60bbaf2beaf7b9679d923bfdb81))
|
|
9
|
+
|
|
10
|
+
## [2.29.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.28.0...v2.29.0) (2026-11-22)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **spec:** sync API spec 2026-11-21 ([de93ce0](https://github.com/didit-protocol/sdk-ruby/commit/de93ce0fc01b16c62fce4398dbff2db4f590c1bd))
|
|
16
|
+
|
|
3
17
|
## [2.28.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.27.0...v2.28.0) (2026-11-21)
|
|
4
18
|
|
|
5
19
|
|
data/README.md
CHANGED
|
@@ -257,7 +257,7 @@ account.account.organizations.list
|
|
|
257
257
|
Choices this SDK makes where [docs/DESIGN.md](docs/DESIGN.md) leaves the language idiom open:
|
|
258
258
|
|
|
259
259
|
- **Arguments.** Ids in the path are positional; request fields are keywords. An omitted keyword is left out of the request and `nil` sends JSON `null`. `Didit::OMIT` leaves a keyword out explicitly, which helps when building calls conditionally. Keywords that are Ruby keywords (`retry:`, `case:`) work as usual.
|
|
260
|
-
- **Names.** Methods and readers are snake_case. A field that would hide an `Object` method gets a trailing underscore (`method` is `method_`); camelCase fields read as snake_case (`firstName` is `first_name`). `model[:wireName]` always gives the raw value.
|
|
260
|
+
- **Names.** Methods and readers are snake_case. A field that would hide an `Object` method gets a trailing underscore (`method` is `method_`); camelCase fields read as snake_case (`firstName` is `first_name`). An operation whose method name is a method every Ruby object has appends the singular resource (`messages.send` is `messages.send_message`); a name that would still hide a built-in method raises at generation time. `model[:wireName]` always gives the raw value.
|
|
261
261
|
- **Types.** Responses are `Didit::Model` subclasses under `Didit::Types`, loaded on first use. Readers convert on access and never raise: a value with an unexpected shape comes back as it is. Date-times are `Time`, dates are `Date`, numbers are `Float`, and string decimals stay strings. Models support `to_h`, `to_json`, `==` and pattern matching (`in {status: "Approved"}`).
|
|
262
262
|
- **Open enums.** Known values are frozen string constants (`Didit::Types::SessionDecisionStatus::APPROVED`, plus `VALUES`); values the SDK does not know are returned unchanged.
|
|
263
263
|
- **Signatures.** RBS signatures ship in `sig/` with the gem, so Steep users get typed calls and results. Readers of required fields are typed non-nil; if the API ever omits one, the reader returns nil.
|