lbd_sdk 0.1.3 → 0.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/Gemfile.lock +1 -1
- data/README.md +8 -4
- data/lib/lbd_sdk/client.rb +38 -4
- data/lib/lbd_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 938955effbd1d02f7397e594d09b20911bc35134e6e0e0f06a05e5cb27e1b026
|
4
|
+
data.tar.gz: afb8bbc2bd6e5d5dee86d1e2319f56b9f0662243aea071d7b5bd284247f235a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd8d45127748646d2879765b7cddb71ae9839cedfb6eac3a2adba5897e3cc35aad929d3fa154d37ff12246e72eb2d7a6a0bed0acef664d9d0bd5d0aee0baea1d
|
7
|
+
data.tar.gz: 8126c5003773417c261a08d62e2ca57a294c196b61e7d081f83c23c8777479d2d6440429379cf96ede1c58d5af8302a9d2875ee9cd951a1706bd5ef14c966d99
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
# 0.1.4(2022-07-02)
|
2
|
+
|
3
|
+
## Add new endpoints
|
4
|
+
|
5
|
+
- Add `GET /v1/item-tokens/{contractId}/fungibles/thumbnails/{request-id}/status`
|
6
|
+
- Add `PUT /v1/item-tokens/{contractId}/fungibles/thumbnails`
|
7
|
+
- Add `GET /v1/item-tokens/{contractId}/fungibles/media-resources/{request-id}/status`
|
8
|
+
- Add `PUT /v1/item-tokens/{contractId}/fungibles/media-resources`
|
9
|
+
- Add `GET /v1/item-tokens/{contractId}/non-fungibles/thumbnails/{request-id}/status`
|
10
|
+
- Add `PUT /v1/item-tokens/{contractId}/non-fungibles/thumbnails`
|
11
|
+
- Add `GET /v1/item-tokens/{contractId}/non-fungibles/media-resources/{request-id}/status`
|
12
|
+
- Add `PUT /v1/item-tokens/{contractId}/non-fungibles/media-resources`
|
13
|
+
|
14
|
+
## Delete deprecated endpoints
|
15
|
+
|
16
|
+
- Delete `GET /v1/item-tokens/{contractId}/fungibles/icon/{request-id}/status`
|
17
|
+
- Delete `PUT /v1/item-tokens/{contractId}/fungibles/icon`
|
18
|
+
- Delete `GET /v1/item-tokens/{contractId}/non-fungibles/icon/{request-id}/status`
|
19
|
+
- Delete `PUT /v1/item-tokens/{contractId}/non-fungibles/icon`
|
20
|
+
|
1
21
|
# 0.1.3(2022-03-23)
|
2
22
|
|
3
23
|
- Add `GET /v1/item-tokens`.
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -104,14 +104,18 @@ client.burn_non_fungible_token(
|
|
104
104
|
- [x] GET /v1/item-tokens/{contractId}/non-fungibles/{tokenType}/{tokenIndex}/holder
|
105
105
|
- [x] GET /v1/item-tokens/{contractId}/non-fungibles/{tokenType}/{tokenIndex}/children
|
106
106
|
- [x] GET /v1/item-tokens/{contractId}/non-fungibles/{tokenType}/{tokenIndex}/parent
|
107
|
+
- [x] GET /v1/item-tokens/{contractId}/fungibles/thumbnails/{request-id}/status
|
108
|
+
- [x] PUT /v1/item-tokens/{contractId}/fungibles/thumbnails
|
109
|
+
- [x] GET /v1/item-tokens/{contractId}/fungibles/media-resources/{request-id}/status
|
110
|
+
- [x] PUT /v1/item-tokens/{contractId}/fungibles/media-resources
|
111
|
+
- [x] GET /v1/item-tokens/{contractId}/non-fungibles/thumbnails/{request-id}/status
|
112
|
+
- [x] PUT /v1/item-tokens/{contractId}/non-fungibles/thumbnails
|
113
|
+
- [x] GET /v1/item-tokens/{contractId}/non-fungibles/media-resources/{request-id}/status
|
114
|
+
- [x] PUT /v1/item-tokens/{contractId}/non-fungibles/media-resources
|
107
115
|
- [x] GET /v1/item-tokens/{contractId}/non-fungibles/{tokenType}/{tokenIndex}/root
|
108
|
-
- [x] GET /v1/item-tokens/{contractId}/fungibles/icon/{request-id}/status
|
109
|
-
- [x] GET /v1/item-tokens/{contractId}/non-fungibles/icon/{request-id}/status
|
110
116
|
- [x] PUT /v1/item-tokens/{contractId}/fungibles/{tokenType}
|
111
|
-
- [x] PUT /v1/item-tokens/{contractId}/fungibles/icon
|
112
117
|
- [x] PUT /v1/item-tokens/{contractId}/non-fungibles/{tokenType}
|
113
118
|
- [x] PUT /v1/item-tokens/{contractId}/non-fungibles/{tokenType}/{tokenIndex}
|
114
|
-
- [x] PUT /v1/item-tokens/{contractId}/non-fungibles/icon
|
115
119
|
- [x] POST /v1/item-tokens/{contractId}/non-fungibles/{tokenType}/{tokenIndex}/parent
|
116
120
|
- [x] DELETE /v1/item-tokens/{contractId}/non-fungibles/{tokenType}/{tokenIndex}/parent
|
117
121
|
- [x] POST /v1/item-tokens/{contractId}/fungibles
|
data/lib/lbd_sdk/client.rb
CHANGED
@@ -634,12 +634,30 @@ module LbdSdk
|
|
634
634
|
end
|
635
635
|
|
636
636
|
def fungible_token_media_resources_update_status(contract_id, request_id)
|
637
|
-
get(
|
637
|
+
get(
|
638
|
+
"/v1/item-tokens/#{contract_id}/fungibles/media-resources/#{request_id}/status",
|
639
|
+
)
|
638
640
|
end
|
639
641
|
|
640
642
|
def update_fungible_token_media_resources(contract_id, token_types)
|
641
643
|
put(
|
642
|
-
"/v1/item-tokens/#{contract_id}/fungibles/
|
644
|
+
"/v1/item-tokens/#{contract_id}/fungibles/media-resources",
|
645
|
+
payload: fungible_token_media_resources_request(token_types),
|
646
|
+
)
|
647
|
+
end
|
648
|
+
|
649
|
+
def fungible_token_thumbnail_resources_update_statuses(
|
650
|
+
contract_id,
|
651
|
+
request_id
|
652
|
+
)
|
653
|
+
get(
|
654
|
+
"/v1/item-tokens/#{contract_id}/fungibles/thumbnails/#{request_id}/status",
|
655
|
+
)
|
656
|
+
end
|
657
|
+
|
658
|
+
def update_fungible_token_thumbnail_resources(contract_id, token_types)
|
659
|
+
put(
|
660
|
+
"/v1/item-tokens/#{contract_id}/fungibles/thumbnails",
|
643
661
|
payload: fungible_token_media_resources_request(token_types),
|
644
662
|
)
|
645
663
|
end
|
@@ -649,13 +667,29 @@ module LbdSdk
|
|
649
667
|
request_id
|
650
668
|
)
|
651
669
|
get(
|
652
|
-
"/v1/item-tokens/#{contract_id}/non-fungibles/
|
670
|
+
"/v1/item-tokens/#{contract_id}/non-fungibles/media-resources/#{request_id}/status",
|
653
671
|
)
|
654
672
|
end
|
655
673
|
|
656
674
|
def update_non_fungible_token_media_resources(contract_id, token_ids)
|
657
675
|
put(
|
658
|
-
"/v1/item-tokens/#{contract_id}/non-fungibles/
|
676
|
+
"/v1/item-tokens/#{contract_id}/non-fungibles/media-resources",
|
677
|
+
payload: non_fungible_token_media_resources_request(token_ids),
|
678
|
+
)
|
679
|
+
end
|
680
|
+
|
681
|
+
def non_fungible_token_thumbnail_resources_update_statuses(
|
682
|
+
contract_id,
|
683
|
+
request_id
|
684
|
+
)
|
685
|
+
get(
|
686
|
+
"/v1/item-tokens/#{contract_id}/non-fungibles/thumbnails/#{request_id}/status",
|
687
|
+
)
|
688
|
+
end
|
689
|
+
|
690
|
+
def update_non_fungible_token_thumbnail_resources(contract_id, token_ids)
|
691
|
+
put(
|
692
|
+
"/v1/item-tokens/#{contract_id}/non-fungibles/thumbnails",
|
659
693
|
payload: non_fungible_token_media_resources_request(token_ids),
|
660
694
|
)
|
661
695
|
end
|
data/lib/lbd_sdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lbd_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YuheiNakasaka
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: LINE Blockchain Developer SDK for Ruby. This SDK is not official LINE
|
14
14
|
SDK.
|