@@ -26,7 +26,7 @@ For example gateway mode and light node mode has only limited set of endpoints e
26
26
27
27
#### Defined in
28
28
29
- [ bee-js/src/bee.ts:105] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L105 )
29
+ [ bee-js/src/bee.ts:105] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L105 )
30
30
31
31
## Properties
32
32
@@ -38,7 +38,7 @@ Default Signer object used for signing operations, mainly Feeds.
38
38
39
39
#### Defined in
40
40
41
- [ bee-js/src/bee.ts:99] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L99 )
41
+ [ bee-js/src/bee.ts:99] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L99 )
42
42
43
43
___
44
44
@@ -50,7 +50,7 @@ URL on which is the main API of Bee node exposed
50
50
51
51
#### Defined in
52
52
53
- [ bee-js/src/bee.ts:94] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L94 )
53
+ [ bee-js/src/bee.ts:94] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L94 )
54
54
55
55
## Methods
56
56
@@ -74,7 +74,7 @@ Ping the Bee node to see if there is a live Bee node on the given URL.
74
74
75
75
#### Defined in
76
76
77
- [ bee-js/src/bee.ts:1022 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L1022 )
77
+ [ bee-js/src/bee.ts:1039 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L1039 )
78
78
79
79
___
80
80
@@ -106,7 +106,7 @@ Feed manifest chunk allows for a feed to be able to be resolved through `/bzz` e
106
106
107
107
#### Defined in
108
108
109
- [ bee-js/src/bee.ts:749 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L749 )
109
+ [ bee-js/src/bee.ts:766 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L766 )
110
110
111
111
___
112
112
@@ -146,7 +146,7 @@ For better understanding what each parameter means and what are the optimal valu
146
146
147
147
#### Defined in
148
148
149
- [ bee-js/src/bee.ts:965 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L965 )
149
+ [ bee-js/src/bee.ts:982 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L982 )
150
150
151
151
___
152
152
@@ -174,7 +174,7 @@ Create a new Tag which is meant for tracking progres of syncing data across netw
174
174
175
175
#### Defined in
176
176
177
- [ bee-js/src/bee.ts:385] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L385 )
177
+ [ bee-js/src/bee.ts:385] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L385 )
178
178
179
179
___
180
180
@@ -207,7 +207,7 @@ Delete Tag
207
207
208
208
#### Defined in
209
209
210
- [ bee-js/src/bee.ts:446] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L446 )
210
+ [ bee-js/src/bee.ts:446] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L446 )
211
211
212
212
___
213
213
@@ -234,7 +234,7 @@ Download data as a byte array
234
234
235
235
#### Defined in
236
236
237
- [ bee-js/src/bee.ts:181] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L181 )
237
+ [ bee-js/src/bee.ts:181] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L181 )
238
238
239
239
___
240
240
@@ -264,7 +264,7 @@ Download single file.
264
264
265
265
#### Defined in
266
266
267
- [ bee-js/src/bee.ts:266] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L266 )
267
+ [ bee-js/src/bee.ts:266] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L266 )
268
268
269
269
___
270
270
@@ -291,7 +291,7 @@ Download data as a Readable stream
291
291
292
292
#### Defined in
293
293
294
- [ bee-js/src/bee.ts:196] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L196 )
294
+ [ bee-js/src/bee.ts:196] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L196 )
295
295
296
296
___
297
297
@@ -319,7 +319,7 @@ Download single file as a readable stream
319
319
320
320
#### Defined in
321
321
322
- [ bee-js/src/bee.ts:283] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L283 )
322
+ [ bee-js/src/bee.ts:283] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L283 )
323
323
324
324
___
325
325
@@ -345,7 +345,7 @@ Get list of all locally pinned references
345
345
346
346
#### Defined in
347
347
348
- [ bee-js/src/bee.ts:524] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L524 )
348
+ [ bee-js/src/bee.ts:524] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L524 )
349
349
350
350
___
351
351
@@ -375,7 +375,7 @@ Return all postage batches that has the node available.
375
375
376
376
#### Defined in
377
377
378
- [ bee-js/src/bee.ts:1010 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L1010 )
378
+ [ bee-js/src/bee.ts:1027 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L1027 )
379
379
380
380
___
381
381
@@ -409,7 +409,7 @@ The listing is limited by options.limit. So you have to iterate using options.of
409
409
410
410
#### Defined in
411
411
412
- [ bee-js/src/bee.ts:405] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L405 )
412
+ [ bee-js/src/bee.ts:405] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L405 )
413
413
414
414
___
415
415
@@ -448,7 +448,7 @@ At least one of these has to be specified!
448
448
449
449
#### Defined in
450
450
451
- [ bee-js/src/bee.ts:869 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L869 )
451
+ [ bee-js/src/bee.ts:886 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L886 )
452
452
453
453
___
454
454
@@ -477,7 +477,7 @@ Get pinning status of chunk with given reference
477
477
478
478
#### Defined in
479
479
480
- [ bee-js/src/bee.ts:541] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L541 )
480
+ [ bee-js/src/bee.ts:541] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L541 )
481
481
482
482
___
483
483
@@ -508,7 +508,7 @@ Return details for specific postage batch.
508
508
509
509
#### Defined in
510
510
511
- [ bee-js/src/bee.ts:993 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L993 )
511
+ [ bee-js/src/bee.ts:1010 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L1010 )
512
512
513
513
___
514
514
@@ -532,7 +532,32 @@ true if successful, false on error
532
532
533
533
#### Defined in
534
534
535
- [ bee-js/src/bee.ts:1034] ( https://github.com/ethersphere/bee-js/blob/5b112bf/src/bee.ts#L1034 )
535
+ [ bee-js/src/bee.ts:1051] ( https://github.com/ethersphere/bee-js/blob/ae6a776/src/bee.ts#L1051 )
536
+
537
+ ___
538
+
539
+ ### isReferenceRetrievable
540
+
541
+ ▸ ** isReferenceRetrievable** (` reference ` , ` options? ` ): ` Promise ` <` boolean ` \>
542
+
543
+ Checks if content specified by reference is retrievable from the network.
544
+
545
+ ** ` see ` ** [ Bee API reference - ` GET /stewardship ` ] ( https://docs.ethswarm.org/api/#tag/Stewardship/paths/~1stewardship~1{reference}/get )
546
+
547
+ #### Parameters
548
+
549
+ | Name | Type | Description |
550
+ | :------ | :------ | :------ |
551
+ | ` reference ` | ` string ` \| [ ` Reference ` ] ( ../types/reference.md ) | The checked content |
552
+ | ` options? ` | [ ` RequestOptions ` ] ( ../interfaces/requestoptions.md ) | Options that affects the request behavior |
553
+
554
+ #### Returns
555
+
556
+ ` Promise ` <` boolean ` \>
557
+
558
+ #### Defined in
559
+
560
+ [ bee-js/src/bee.ts:573] ( https://github.com/ethersphere/bee-js/blob/ae6a776/src/bee.ts#L573 )
536
561
537
562
___
538
563
@@ -559,7 +584,7 @@ Make a new feed reader for downloading feed updates.
559
584
560
585
#### Defined in
561
586
562
- [ bee-js/src/bee.ts:776 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L776 )
587
+ [ bee-js/src/bee.ts:793 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L793 )
563
588
564
589
___
565
590
@@ -584,7 +609,7 @@ hashes the input string to create a topic string of arbitrary length.
584
609
585
610
#### Defined in
586
611
587
- [ bee-js/src/bee.ts:908 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L908 )
612
+ [ bee-js/src/bee.ts:925 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L925 )
588
613
589
614
___
590
615
@@ -611,7 +636,7 @@ Make a new feed writer for updating feeds
611
636
612
637
#### Defined in
613
638
614
- [ bee-js/src/bee.ts:801 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L801 )
639
+ [ bee-js/src/bee.ts:818 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L818 )
615
640
616
641
___
617
642
@@ -636,7 +661,7 @@ Returns an object for reading single owner chunks
636
661
637
662
#### Defined in
638
663
639
- [ bee-js/src/bee.ts:919 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L919 )
664
+ [ bee-js/src/bee.ts:936 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L936 )
640
665
641
666
___
642
667
@@ -661,7 +686,7 @@ Returns an object for reading and writing single owner chunks
661
686
662
687
#### Defined in
663
688
664
- [ bee-js/src/bee.ts:935 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L935 )
689
+ [ bee-js/src/bee.ts:952 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L952 )
665
690
666
691
___
667
692
@@ -690,7 +715,7 @@ Pin local data with given reference
690
715
691
716
#### Defined in
692
717
693
- [ bee-js/src/bee.ts:491] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L491 )
718
+ [ bee-js/src/bee.ts:491] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L491 )
694
719
695
720
___
696
721
@@ -734,7 +759,7 @@ Message in byte array
734
759
735
760
#### Defined in
736
761
737
- [ bee-js/src/bee.ts:700 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L700 )
762
+ [ bee-js/src/bee.ts:717 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L717 )
738
763
739
764
___
740
765
@@ -777,7 +802,7 @@ This is because light nodes does not fully participate in the data exchange in S
777
802
778
803
#### Defined in
779
804
780
- [ bee-js/src/bee.ts:587 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L587 )
805
+ [ bee-js/src/bee.ts:604 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L604 )
781
806
782
807
___
783
808
@@ -811,7 +836,7 @@ Subscription to a given topic
811
836
812
837
#### Defined in
813
838
814
- [ bee-js/src/bee.ts:629 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L629 )
839
+ [ bee-js/src/bee.ts:646 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L646 )
815
840
816
841
___
817
842
@@ -842,7 +867,7 @@ Retrieve tag information from Bee node
842
867
843
868
#### Defined in
844
869
845
- [ bee-js/src/bee.ts:425] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L425 )
870
+ [ bee-js/src/bee.ts:425] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L425 )
846
871
847
872
___
848
873
@@ -856,6 +881,8 @@ Instructs the Bee node to reupload a locally pinned data into the network.
856
881
857
882
** ` throws ` ** TypeError if reference is in not correct format
858
883
884
+ ** ` see ` ** [ Bee API reference - ` PUT /stewardship ` ] ( https://docs.ethswarm.org/api/#tag/Stewardship/paths/~1stewardship~1{reference}/put )
885
+
859
886
#### Parameters
860
887
861
888
| Name | Type | Description |
@@ -869,7 +896,7 @@ Instructs the Bee node to reupload a locally pinned data into the network.
869
896
870
897
#### Defined in
871
898
872
- [ bee-js/src/bee.ts:556 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L556 )
899
+ [ bee-js/src/bee.ts:558 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L558 )
873
900
874
901
___
875
902
@@ -908,7 +935,7 @@ If none of those two is set error is thrown.
908
935
909
936
#### Defined in
910
937
911
- [ bee-js/src/bee.ts:834 ] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L834 )
938
+ [ bee-js/src/bee.ts:851 ] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L851 )
912
939
913
940
___
914
941
@@ -937,7 +964,7 @@ Unpin local data with given reference
937
964
938
965
#### Defined in
939
966
940
- [ bee-js/src/bee.ts:509] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L509 )
967
+ [ bee-js/src/bee.ts:509] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L509 )
941
968
942
969
___
943
970
@@ -974,7 +1001,7 @@ you can use this method to update the total chunks count for the tag.
974
1001
975
1002
#### Defined in
976
1003
977
- [ bee-js/src/bee.ts:471] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L471 )
1004
+ [ bee-js/src/bee.ts:471] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L471 )
978
1005
979
1006
___
980
1007
@@ -1001,7 +1028,7 @@ This will be fixed upon next Bee release. https://github.com/ethersphere/bee-js/
1001
1028
1002
1029
#### Defined in
1003
1030
1004
- [ bee-js/src/bee.ts:334] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L334 )
1031
+ [ bee-js/src/bee.ts:334] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L334 )
1005
1032
1006
1033
___
1007
1034
@@ -1031,7 +1058,7 @@ reference is a content hash of the data
1031
1058
1032
1059
#### Defined in
1033
1060
1034
- [ bee-js/src/bee.ts:160] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L160 )
1061
+ [ bee-js/src/bee.ts:160] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L160 )
1035
1062
1036
1063
___
1037
1064
@@ -1067,7 +1094,7 @@ reference is a content hash of the file
1067
1094
1068
1095
#### Defined in
1069
1096
1070
- [ bee-js/src/bee.ts:222] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L222 )
1097
+ [ bee-js/src/bee.ts:222] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L222 )
1071
1098
1072
1099
___
1073
1100
@@ -1102,7 +1129,7 @@ This will be fixed upon next Bee release. https://github.com/ethersphere/bee-js/
1102
1129
1103
1130
#### Defined in
1104
1131
1105
- [ bee-js/src/bee.ts:310] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L310 )
1132
+ [ bee-js/src/bee.ts:310] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L310 )
1106
1133
1107
1134
___
1108
1135
@@ -1137,4 +1164,4 @@ This will be fixed upon next Bee release. https://github.com/ethersphere/bee-js/
1137
1164
1138
1165
#### Defined in
1139
1166
1140
- [ bee-js/src/bee.ts:363] ( https://github.com/ethersphere/bee-js/blob/5b112bf /src/bee.ts#L363 )
1167
+ [ bee-js/src/bee.ts:363] ( https://github.com/ethersphere/bee-js/blob/ae6a776 /src/bee.ts#L363 )
0 commit comments