space-data-module-sdk 0.9.0 → 0.9.1
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/package.json +1 -1
- package/schemas/runtime/HostOps.fbs +24 -22
- package/schemas/runtime/IngestRequest.fbs +3 -0
- package/src/capabilities.js +3 -0
- package/src/generated/runtime/aligned/HostOps_aligned.js +133 -144
- package/src/generated/runtime/aligned/HostOps_aligned.ts +138 -153
- package/src/generated/runtime/aligned/HostOps_enums.js +1 -3
- package/src/generated/runtime/aligned/HostOps_enums.ts +0 -1
- package/src/generated/runtime/cpp/HostOps_aligned.h +111 -118
- package/src/generated/runtime/cpp/IngestRequest_generated.h +70 -5
- package/src/generated/runtime/sdn/runtime/Provenance.js +37 -5
- package/src/generated/runtime/sdn/runtime/Provenance.ts +42 -5
- package/src/host/abi.js +12 -3
- package/src/host/adapterOperations.js +79 -0
- package/src/host/browserHost.js +63 -2
- package/src/host/cpp/typedHostcall.hpp +51 -0
- package/src/host/hostWorkerBundleSources.js +3 -3
- package/src/host/nodeHost.js +49 -0
- package/src/host/typedDispatch.js +353 -1
- package/src/index.d.ts +25 -2
- package/src/standards/runtimeContracts.js +67 -7
|
@@ -538,14 +538,14 @@ const _StoredRecordMeta = class _StoredRecordMeta {
|
|
|
538
538
|
__writePresence(this.view, this.offset, 6, value);
|
|
539
539
|
}
|
|
540
540
|
lICENSE() {
|
|
541
|
-
return __decodeString(this.view, this.offset + 816,
|
|
541
|
+
return __decodeString(this.view, this.offset + 816, 128);
|
|
542
542
|
}
|
|
543
543
|
setLICENSE(value) {
|
|
544
|
-
__encodeString(this.view, this.offset + 816,
|
|
544
|
+
__encodeString(this.view, this.offset + 816, 128, value);
|
|
545
545
|
this.setHasLICENSE(true);
|
|
546
546
|
}
|
|
547
547
|
};
|
|
548
|
-
__publicField(_StoredRecordMeta, "SIZE",
|
|
548
|
+
__publicField(_StoredRecordMeta, "SIZE", 952);
|
|
549
549
|
__publicField(_StoredRecordMeta, "ALIGN", 8);
|
|
550
550
|
let StoredRecordMeta = _StoredRecordMeta;
|
|
551
551
|
const _StorageWriteParams = class _StorageWriteParams {
|
|
@@ -827,10 +827,10 @@ const _StorageIngestParams = class _StorageIngestParams {
|
|
|
827
827
|
__writePresence(this.view, this.offset, 5, value);
|
|
828
828
|
}
|
|
829
829
|
cONTENT_KEY_ID() {
|
|
830
|
-
return __decodeString(this.view, this.offset + 710,
|
|
830
|
+
return __decodeString(this.view, this.offset + 710, 128);
|
|
831
831
|
}
|
|
832
832
|
setCONTENT_KEY_ID(value) {
|
|
833
|
-
__encodeString(this.view, this.offset + 710,
|
|
833
|
+
__encodeString(this.view, this.offset + 710, 128, value);
|
|
834
834
|
this.setHasCONTENT_KEY_ID(true);
|
|
835
835
|
}
|
|
836
836
|
hasSOURCE_PEER() {
|
|
@@ -840,10 +840,10 @@ const _StorageIngestParams = class _StorageIngestParams {
|
|
|
840
840
|
__writePresence(this.view, this.offset, 6, value);
|
|
841
841
|
}
|
|
842
842
|
sOURCE_PEER() {
|
|
843
|
-
return __decodeString(this.view, this.offset +
|
|
843
|
+
return __decodeString(this.view, this.offset + 839, 128);
|
|
844
844
|
}
|
|
845
845
|
setSOURCE_PEER(value) {
|
|
846
|
-
__encodeString(this.view, this.offset +
|
|
846
|
+
__encodeString(this.view, this.offset + 839, 128, value);
|
|
847
847
|
this.setHasSOURCE_PEER(true);
|
|
848
848
|
}
|
|
849
849
|
hasLICENSE() {
|
|
@@ -853,10 +853,10 @@ const _StorageIngestParams = class _StorageIngestParams {
|
|
|
853
853
|
__writePresence(this.view, this.offset, 7, value);
|
|
854
854
|
}
|
|
855
855
|
lICENSE() {
|
|
856
|
-
return __decodeString(this.view, this.offset +
|
|
856
|
+
return __decodeString(this.view, this.offset + 968, 128);
|
|
857
857
|
}
|
|
858
858
|
setLICENSE(value) {
|
|
859
|
-
__encodeString(this.view, this.offset +
|
|
859
|
+
__encodeString(this.view, this.offset + 968, 128, value);
|
|
860
860
|
this.setHasLICENSE(true);
|
|
861
861
|
}
|
|
862
862
|
hasLICENSE_URL() {
|
|
@@ -866,10 +866,10 @@ const _StorageIngestParams = class _StorageIngestParams {
|
|
|
866
866
|
__writePresence(this.view, this.offset, 8, value);
|
|
867
867
|
}
|
|
868
868
|
lICENSE_URL() {
|
|
869
|
-
return __decodeString(this.view, this.offset +
|
|
869
|
+
return __decodeString(this.view, this.offset + 1097, 255);
|
|
870
870
|
}
|
|
871
871
|
setLICENSE_URL(value) {
|
|
872
|
-
__encodeString(this.view, this.offset +
|
|
872
|
+
__encodeString(this.view, this.offset + 1097, 255, value);
|
|
873
873
|
this.setHasLICENSE_URL(true);
|
|
874
874
|
}
|
|
875
875
|
hasCITATION() {
|
|
@@ -879,23 +879,23 @@ const _StorageIngestParams = class _StorageIngestParams {
|
|
|
879
879
|
__writePresence(this.view, this.offset, 9, value);
|
|
880
880
|
}
|
|
881
881
|
cITATION() {
|
|
882
|
-
return __decodeString(this.view, this.offset +
|
|
882
|
+
return __decodeString(this.view, this.offset + 1353, 255);
|
|
883
883
|
}
|
|
884
884
|
setCITATION(value) {
|
|
885
|
-
__encodeString(this.view, this.offset +
|
|
885
|
+
__encodeString(this.view, this.offset + 1353, 255, value);
|
|
886
886
|
this.setHasCITATION(true);
|
|
887
887
|
}
|
|
888
888
|
sHARE_ALIKE() {
|
|
889
|
-
return this.view.getUint8(this.offset +
|
|
889
|
+
return this.view.getUint8(this.offset + 1609) !== 0;
|
|
890
890
|
}
|
|
891
891
|
setSHARE_ALIKE(value) {
|
|
892
|
-
this.view.setUint8(this.offset +
|
|
892
|
+
this.view.setUint8(this.offset + 1609, value ? 1 : 0);
|
|
893
893
|
}
|
|
894
894
|
rECONCILE() {
|
|
895
|
-
return this.view.getUint8(this.offset +
|
|
895
|
+
return this.view.getUint8(this.offset + 1610);
|
|
896
896
|
}
|
|
897
897
|
setRECONCILE(value) {
|
|
898
|
-
this.view.setUint8(this.offset +
|
|
898
|
+
this.view.setUint8(this.offset + 1610, value);
|
|
899
899
|
}
|
|
900
900
|
hasARCHIVE_SOURCE() {
|
|
901
901
|
return __readPresence(this.view, this.offset, 10);
|
|
@@ -904,10 +904,10 @@ const _StorageIngestParams = class _StorageIngestParams {
|
|
|
904
904
|
__writePresence(this.view, this.offset, 10, value);
|
|
905
905
|
}
|
|
906
906
|
aRCHIVE_SOURCE() {
|
|
907
|
-
return __decodeString(this.view, this.offset +
|
|
907
|
+
return __decodeString(this.view, this.offset + 1611, 128);
|
|
908
908
|
}
|
|
909
909
|
setARCHIVE_SOURCE(value) {
|
|
910
|
-
__encodeString(this.view, this.offset +
|
|
910
|
+
__encodeString(this.view, this.offset + 1611, 128, value);
|
|
911
911
|
this.setHasARCHIVE_SOURCE(true);
|
|
912
912
|
}
|
|
913
913
|
hasARCHIVE_NAME() {
|
|
@@ -917,14 +917,14 @@ const _StorageIngestParams = class _StorageIngestParams {
|
|
|
917
917
|
__writePresence(this.view, this.offset, 11, value);
|
|
918
918
|
}
|
|
919
919
|
aRCHIVE_NAME() {
|
|
920
|
-
return __decodeString(this.view, this.offset +
|
|
920
|
+
return __decodeString(this.view, this.offset + 1740, 255);
|
|
921
921
|
}
|
|
922
922
|
setARCHIVE_NAME(value) {
|
|
923
|
-
__encodeString(this.view, this.offset +
|
|
923
|
+
__encodeString(this.view, this.offset + 1740, 255, value);
|
|
924
924
|
this.setHasARCHIVE_NAME(true);
|
|
925
925
|
}
|
|
926
926
|
};
|
|
927
|
-
__publicField(_StorageIngestParams, "SIZE",
|
|
927
|
+
__publicField(_StorageIngestParams, "SIZE", 1996);
|
|
928
928
|
__publicField(_StorageIngestParams, "ALIGN", 1);
|
|
929
929
|
let StorageIngestParams = _StorageIngestParams;
|
|
930
930
|
const _Provenance = class _Provenance {
|
|
@@ -963,10 +963,10 @@ const _Provenance = class _Provenance {
|
|
|
963
963
|
__writePresence(this.view, this.offset, 1, value);
|
|
964
964
|
}
|
|
965
965
|
eTAG() {
|
|
966
|
-
return __decodeString(this.view, this.offset + 264,
|
|
966
|
+
return __decodeString(this.view, this.offset + 264, 255);
|
|
967
967
|
}
|
|
968
968
|
setETAG(value) {
|
|
969
|
-
__encodeString(this.view, this.offset + 264,
|
|
969
|
+
__encodeString(this.view, this.offset + 264, 255, value);
|
|
970
970
|
this.setHasETAG(true);
|
|
971
971
|
}
|
|
972
972
|
hasLAST_MODIFIED() {
|
|
@@ -976,10 +976,10 @@ const _Provenance = class _Provenance {
|
|
|
976
976
|
__writePresence(this.view, this.offset, 2, value);
|
|
977
977
|
}
|
|
978
978
|
lAST_MODIFIED() {
|
|
979
|
-
return __decodeString(this.view, this.offset +
|
|
979
|
+
return __decodeString(this.view, this.offset + 520, 64);
|
|
980
980
|
}
|
|
981
981
|
setLAST_MODIFIED(value) {
|
|
982
|
-
__encodeString(this.view, this.offset +
|
|
982
|
+
__encodeString(this.view, this.offset + 520, 64, value);
|
|
983
983
|
this.setHasLAST_MODIFIED(true);
|
|
984
984
|
}
|
|
985
985
|
hasCONTENT_TYPE() {
|
|
@@ -989,17 +989,17 @@ const _Provenance = class _Provenance {
|
|
|
989
989
|
__writePresence(this.view, this.offset, 3, value);
|
|
990
990
|
}
|
|
991
991
|
cONTENT_TYPE() {
|
|
992
|
-
return __decodeString(this.view, this.offset +
|
|
992
|
+
return __decodeString(this.view, this.offset + 585, 128);
|
|
993
993
|
}
|
|
994
994
|
setCONTENT_TYPE(value) {
|
|
995
|
-
__encodeString(this.view, this.offset +
|
|
995
|
+
__encodeString(this.view, this.offset + 585, 128, value);
|
|
996
996
|
this.setHasCONTENT_TYPE(true);
|
|
997
997
|
}
|
|
998
998
|
rETRIEVED_MS() {
|
|
999
|
-
return this.view.getBigUint64(this.offset +
|
|
999
|
+
return this.view.getBigUint64(this.offset + 720, true);
|
|
1000
1000
|
}
|
|
1001
1001
|
setRETRIEVED_MS(value) {
|
|
1002
|
-
this.view.setBigUint64(this.offset +
|
|
1002
|
+
this.view.setBigUint64(this.offset + 720, value, true);
|
|
1003
1003
|
}
|
|
1004
1004
|
hasPARSER() {
|
|
1005
1005
|
return __readPresence(this.view, this.offset, 4);
|
|
@@ -1008,10 +1008,10 @@ const _Provenance = class _Provenance {
|
|
|
1008
1008
|
__writePresence(this.view, this.offset, 4, value);
|
|
1009
1009
|
}
|
|
1010
1010
|
pARSER() {
|
|
1011
|
-
return __decodeString(this.view, this.offset +
|
|
1011
|
+
return __decodeString(this.view, this.offset + 728, 128);
|
|
1012
1012
|
}
|
|
1013
1013
|
setPARSER(value) {
|
|
1014
|
-
__encodeString(this.view, this.offset +
|
|
1014
|
+
__encodeString(this.view, this.offset + 728, 128, value);
|
|
1015
1015
|
this.setHasPARSER(true);
|
|
1016
1016
|
}
|
|
1017
1017
|
hasPARSER_VERSION() {
|
|
@@ -1021,10 +1021,10 @@ const _Provenance = class _Provenance {
|
|
|
1021
1021
|
__writePresence(this.view, this.offset, 5, value);
|
|
1022
1022
|
}
|
|
1023
1023
|
pARSER_VERSION() {
|
|
1024
|
-
return __decodeString(this.view, this.offset +
|
|
1024
|
+
return __decodeString(this.view, this.offset + 857, 64);
|
|
1025
1025
|
}
|
|
1026
1026
|
setPARSER_VERSION(value) {
|
|
1027
|
-
__encodeString(this.view, this.offset +
|
|
1027
|
+
__encodeString(this.view, this.offset + 857, 64, value);
|
|
1028
1028
|
this.setHasPARSER_VERSION(true);
|
|
1029
1029
|
}
|
|
1030
1030
|
hasSOURCE_SHA256() {
|
|
@@ -1034,10 +1034,10 @@ const _Provenance = class _Provenance {
|
|
|
1034
1034
|
__writePresence(this.view, this.offset, 6, value);
|
|
1035
1035
|
}
|
|
1036
1036
|
sOURCE_SHA256() {
|
|
1037
|
-
return __decodeString(this.view, this.offset +
|
|
1037
|
+
return __decodeString(this.view, this.offset + 922, 64);
|
|
1038
1038
|
}
|
|
1039
1039
|
setSOURCE_SHA256(value) {
|
|
1040
|
-
__encodeString(this.view, this.offset +
|
|
1040
|
+
__encodeString(this.view, this.offset + 922, 64, value);
|
|
1041
1041
|
this.setHasSOURCE_SHA256(true);
|
|
1042
1042
|
}
|
|
1043
1043
|
hasNORMALIZED_SHA256() {
|
|
@@ -1047,28 +1047,68 @@ const _Provenance = class _Provenance {
|
|
|
1047
1047
|
__writePresence(this.view, this.offset, 7, value);
|
|
1048
1048
|
}
|
|
1049
1049
|
nORMALIZED_SHA256() {
|
|
1050
|
-
return __decodeString(this.view, this.offset +
|
|
1050
|
+
return __decodeString(this.view, this.offset + 987, 64);
|
|
1051
1051
|
}
|
|
1052
1052
|
setNORMALIZED_SHA256(value) {
|
|
1053
|
-
__encodeString(this.view, this.offset +
|
|
1053
|
+
__encodeString(this.view, this.offset + 987, 64, value);
|
|
1054
1054
|
this.setHasNORMALIZED_SHA256(true);
|
|
1055
1055
|
}
|
|
1056
1056
|
nORMALIZED_COUNT() {
|
|
1057
|
-
return this.view.getBigUint64(this.offset +
|
|
1057
|
+
return this.view.getBigUint64(this.offset + 1056, true);
|
|
1058
1058
|
}
|
|
1059
1059
|
setNORMALIZED_COUNT(value) {
|
|
1060
|
-
this.view.setBigUint64(this.offset +
|
|
1060
|
+
this.view.setBigUint64(this.offset + 1056, value, true);
|
|
1061
1061
|
}
|
|
1062
1062
|
fROM_CACHE() {
|
|
1063
|
-
return this.view.getUint8(this.offset +
|
|
1063
|
+
return this.view.getUint8(this.offset + 1064) !== 0;
|
|
1064
1064
|
}
|
|
1065
1065
|
setFROM_CACHE(value) {
|
|
1066
|
-
this.view.setUint8(this.offset +
|
|
1066
|
+
this.view.setUint8(this.offset + 1064, value ? 1 : 0);
|
|
1067
1067
|
}
|
|
1068
1068
|
};
|
|
1069
|
-
__publicField(_Provenance, "SIZE",
|
|
1069
|
+
__publicField(_Provenance, "SIZE", 1072);
|
|
1070
1070
|
__publicField(_Provenance, "ALIGN", 8);
|
|
1071
1071
|
let Provenance = _Provenance;
|
|
1072
|
+
const _ProvenanceAttribute = class _ProvenanceAttribute {
|
|
1073
|
+
constructor(buffer, offset = 0) {
|
|
1074
|
+
__publicField(this, "buffer", buffer);
|
|
1075
|
+
__publicField(this, "offset", offset);
|
|
1076
|
+
__publicField(this, "view");
|
|
1077
|
+
this.view = new DataView(buffer);
|
|
1078
|
+
}
|
|
1079
|
+
static fromPointer(buffer, offset = 0) {
|
|
1080
|
+
return new _ProvenanceAttribute(buffer, offset);
|
|
1081
|
+
}
|
|
1082
|
+
hasNAME() {
|
|
1083
|
+
return __readPresence(this.view, this.offset, 0);
|
|
1084
|
+
}
|
|
1085
|
+
setHasNAME(value) {
|
|
1086
|
+
__writePresence(this.view, this.offset, 0, value);
|
|
1087
|
+
}
|
|
1088
|
+
nAME() {
|
|
1089
|
+
return __decodeString(this.view, this.offset + 1, 128);
|
|
1090
|
+
}
|
|
1091
|
+
setNAME(value) {
|
|
1092
|
+
__encodeString(this.view, this.offset + 1, 128, value);
|
|
1093
|
+
this.setHasNAME(true);
|
|
1094
|
+
}
|
|
1095
|
+
hasVALUE() {
|
|
1096
|
+
return __readPresence(this.view, this.offset, 1);
|
|
1097
|
+
}
|
|
1098
|
+
setHasVALUE(value) {
|
|
1099
|
+
__writePresence(this.view, this.offset, 1, value);
|
|
1100
|
+
}
|
|
1101
|
+
vALUE() {
|
|
1102
|
+
return __decodeString(this.view, this.offset + 130, 255);
|
|
1103
|
+
}
|
|
1104
|
+
setVALUE(value) {
|
|
1105
|
+
__encodeString(this.view, this.offset + 130, 255, value);
|
|
1106
|
+
this.setHasVALUE(true);
|
|
1107
|
+
}
|
|
1108
|
+
};
|
|
1109
|
+
__publicField(_ProvenanceAttribute, "SIZE", 386);
|
|
1110
|
+
__publicField(_ProvenanceAttribute, "ALIGN", 1);
|
|
1111
|
+
let ProvenanceAttribute = _ProvenanceAttribute;
|
|
1072
1112
|
const _StorageIngestResult = class _StorageIngestResult {
|
|
1073
1113
|
constructor(buffer, offset = 0) {
|
|
1074
1114
|
__publicField(this, "buffer", buffer);
|
|
@@ -1153,57 +1193,6 @@ const _StorageIngestResult = class _StorageIngestResult {
|
|
|
1153
1193
|
__publicField(_StorageIngestResult, "SIZE", 736);
|
|
1154
1194
|
__publicField(_StorageIngestResult, "ALIGN", 8);
|
|
1155
1195
|
let StorageIngestResult = _StorageIngestResult;
|
|
1156
|
-
const _SqlValue = class _SqlValue {
|
|
1157
|
-
constructor(buffer, offset = 0) {
|
|
1158
|
-
__publicField(this, "buffer", buffer);
|
|
1159
|
-
__publicField(this, "offset", offset);
|
|
1160
|
-
__publicField(this, "view");
|
|
1161
|
-
this.view = new DataView(buffer);
|
|
1162
|
-
}
|
|
1163
|
-
static fromPointer(buffer, offset = 0) {
|
|
1164
|
-
return new _SqlValue(buffer, offset);
|
|
1165
|
-
}
|
|
1166
|
-
kIND() {
|
|
1167
|
-
return this.view.getUint8(this.offset + 1);
|
|
1168
|
-
}
|
|
1169
|
-
setKIND(value) {
|
|
1170
|
-
this.view.setUint8(this.offset + 1, value);
|
|
1171
|
-
}
|
|
1172
|
-
bOOL_VALUE() {
|
|
1173
|
-
return this.view.getUint8(this.offset + 2) !== 0;
|
|
1174
|
-
}
|
|
1175
|
-
setBOOL_VALUE(value) {
|
|
1176
|
-
this.view.setUint8(this.offset + 2, value ? 1 : 0);
|
|
1177
|
-
}
|
|
1178
|
-
i64_VALUE() {
|
|
1179
|
-
return this.view.getBigInt64(this.offset + 8, true);
|
|
1180
|
-
}
|
|
1181
|
-
setI64_VALUE(value) {
|
|
1182
|
-
this.view.setBigInt64(this.offset + 8, value, true);
|
|
1183
|
-
}
|
|
1184
|
-
f64_VALUE() {
|
|
1185
|
-
return this.view.getFloat64(this.offset + 16, true);
|
|
1186
|
-
}
|
|
1187
|
-
setF64_VALUE(value) {
|
|
1188
|
-
this.view.setFloat64(this.offset + 16, value, true);
|
|
1189
|
-
}
|
|
1190
|
-
hasSTR_VALUE() {
|
|
1191
|
-
return __readPresence(this.view, this.offset, 0);
|
|
1192
|
-
}
|
|
1193
|
-
setHasSTR_VALUE(value) {
|
|
1194
|
-
__writePresence(this.view, this.offset, 0, value);
|
|
1195
|
-
}
|
|
1196
|
-
sTR_VALUE() {
|
|
1197
|
-
return __decodeString(this.view, this.offset + 24, 255);
|
|
1198
|
-
}
|
|
1199
|
-
setSTR_VALUE(value) {
|
|
1200
|
-
__encodeString(this.view, this.offset + 24, 255, value);
|
|
1201
|
-
this.setHasSTR_VALUE(true);
|
|
1202
|
-
}
|
|
1203
|
-
};
|
|
1204
|
-
__publicField(_SqlValue, "SIZE", 280);
|
|
1205
|
-
__publicField(_SqlValue, "ALIGN", 8);
|
|
1206
|
-
let SqlValue = _SqlValue;
|
|
1207
1196
|
const _SqlStreamParams = class _SqlStreamParams {
|
|
1208
1197
|
constructor(buffer, offset = 0) {
|
|
1209
1198
|
__publicField(this, "buffer", buffer);
|
|
@@ -2468,10 +2457,10 @@ const _P2pPnmEntry = class _P2pPnmEntry {
|
|
|
2468
2457
|
__writePresence(this.view, this.offset, 5, value);
|
|
2469
2458
|
}
|
|
2470
2459
|
fILE_ID() {
|
|
2471
|
-
return __decodeString(this.view, this.offset + 471,
|
|
2460
|
+
return __decodeString(this.view, this.offset + 471, 255);
|
|
2472
2461
|
}
|
|
2473
2462
|
setFILE_ID(value) {
|
|
2474
|
-
__encodeString(this.view, this.offset + 471,
|
|
2463
|
+
__encodeString(this.view, this.offset + 471, 255, value);
|
|
2475
2464
|
this.setHasFILE_ID(true);
|
|
2476
2465
|
}
|
|
2477
2466
|
hasFILE_NAME() {
|
|
@@ -2481,10 +2470,10 @@ const _P2pPnmEntry = class _P2pPnmEntry {
|
|
|
2481
2470
|
__writePresence(this.view, this.offset, 6, value);
|
|
2482
2471
|
}
|
|
2483
2472
|
fILE_NAME() {
|
|
2484
|
-
return __decodeString(this.view, this.offset +
|
|
2473
|
+
return __decodeString(this.view, this.offset + 727, 255);
|
|
2485
2474
|
}
|
|
2486
2475
|
setFILE_NAME(value) {
|
|
2487
|
-
__encodeString(this.view, this.offset +
|
|
2476
|
+
__encodeString(this.view, this.offset + 727, 255, value);
|
|
2488
2477
|
this.setHasFILE_NAME(true);
|
|
2489
2478
|
}
|
|
2490
2479
|
hasCID() {
|
|
@@ -2494,17 +2483,17 @@ const _P2pPnmEntry = class _P2pPnmEntry {
|
|
|
2494
2483
|
__writePresence(this.view, this.offset, 7, value);
|
|
2495
2484
|
}
|
|
2496
2485
|
cID() {
|
|
2497
|
-
return __decodeString(this.view, this.offset +
|
|
2486
|
+
return __decodeString(this.view, this.offset + 983, 128);
|
|
2498
2487
|
}
|
|
2499
2488
|
setCID(value) {
|
|
2500
|
-
__encodeString(this.view, this.offset +
|
|
2489
|
+
__encodeString(this.view, this.offset + 983, 128, value);
|
|
2501
2490
|
this.setHasCID(true);
|
|
2502
2491
|
}
|
|
2503
2492
|
pUBLISH_MS() {
|
|
2504
|
-
return this.view.getBigUint64(this.offset +
|
|
2493
|
+
return this.view.getBigUint64(this.offset + 1112, true);
|
|
2505
2494
|
}
|
|
2506
2495
|
setPUBLISH_MS(value) {
|
|
2507
|
-
this.view.setBigUint64(this.offset +
|
|
2496
|
+
this.view.setBigUint64(this.offset + 1112, value, true);
|
|
2508
2497
|
}
|
|
2509
2498
|
hasSIGNATURE_TYPE() {
|
|
2510
2499
|
return __readPresence(this.view, this.offset, 8);
|
|
@@ -2513,10 +2502,10 @@ const _P2pPnmEntry = class _P2pPnmEntry {
|
|
|
2513
2502
|
__writePresence(this.view, this.offset, 8, value);
|
|
2514
2503
|
}
|
|
2515
2504
|
sIGNATURE_TYPE() {
|
|
2516
|
-
return __decodeString(this.view, this.offset +
|
|
2505
|
+
return __decodeString(this.view, this.offset + 1120, 32);
|
|
2517
2506
|
}
|
|
2518
2507
|
setSIGNATURE_TYPE(value) {
|
|
2519
|
-
__encodeString(this.view, this.offset +
|
|
2508
|
+
__encodeString(this.view, this.offset + 1120, 32, value);
|
|
2520
2509
|
this.setHasSIGNATURE_TYPE(true);
|
|
2521
2510
|
}
|
|
2522
2511
|
hasSIGNATURE_HEX() {
|
|
@@ -2526,17 +2515,17 @@ const _P2pPnmEntry = class _P2pPnmEntry {
|
|
|
2526
2515
|
__writePresence(this.view, this.offset, 9, value);
|
|
2527
2516
|
}
|
|
2528
2517
|
sIGNATURE_HEX() {
|
|
2529
|
-
return __decodeString(this.view, this.offset +
|
|
2518
|
+
return __decodeString(this.view, this.offset + 1153, 255);
|
|
2530
2519
|
}
|
|
2531
2520
|
setSIGNATURE_HEX(value) {
|
|
2532
|
-
__encodeString(this.view, this.offset +
|
|
2521
|
+
__encodeString(this.view, this.offset + 1153, 255, value);
|
|
2533
2522
|
this.setHasSIGNATURE_HEX(true);
|
|
2534
2523
|
}
|
|
2535
2524
|
sIGNATURE_VERIFIED() {
|
|
2536
|
-
return this.view.getUint8(this.offset +
|
|
2525
|
+
return this.view.getUint8(this.offset + 1409) !== 0;
|
|
2537
2526
|
}
|
|
2538
2527
|
setSIGNATURE_VERIFIED(value) {
|
|
2539
|
-
this.view.setUint8(this.offset +
|
|
2528
|
+
this.view.setUint8(this.offset + 1409, value ? 1 : 0);
|
|
2540
2529
|
}
|
|
2541
2530
|
hasATTRIBUTION() {
|
|
2542
2531
|
return __readPresence(this.view, this.offset, 10);
|
|
@@ -2545,17 +2534,17 @@ const _P2pPnmEntry = class _P2pPnmEntry {
|
|
|
2545
2534
|
__writePresence(this.view, this.offset, 10, value);
|
|
2546
2535
|
}
|
|
2547
2536
|
aTTRIBUTION() {
|
|
2548
|
-
return __decodeString(this.view, this.offset +
|
|
2537
|
+
return __decodeString(this.view, this.offset + 1410, 16);
|
|
2549
2538
|
}
|
|
2550
2539
|
setATTRIBUTION(value) {
|
|
2551
|
-
__encodeString(this.view, this.offset +
|
|
2540
|
+
__encodeString(this.view, this.offset + 1410, 16, value);
|
|
2552
2541
|
this.setHasATTRIBUTION(true);
|
|
2553
2542
|
}
|
|
2554
2543
|
pNM_INDEX() {
|
|
2555
|
-
return this.view.getInt32(this.offset +
|
|
2544
|
+
return this.view.getInt32(this.offset + 1428, true);
|
|
2556
2545
|
}
|
|
2557
2546
|
setPNM_INDEX(value) {
|
|
2558
|
-
this.view.setInt32(this.offset +
|
|
2547
|
+
this.view.setInt32(this.offset + 1428, value, true);
|
|
2559
2548
|
}
|
|
2560
2549
|
hasPUBLISHER_KEY_HEX() {
|
|
2561
2550
|
return __readPresence(this.view, this.offset, 11);
|
|
@@ -2564,10 +2553,10 @@ const _P2pPnmEntry = class _P2pPnmEntry {
|
|
|
2564
2553
|
__writePresence(this.view, this.offset, 11, value);
|
|
2565
2554
|
}
|
|
2566
2555
|
pUBLISHER_KEY_HEX() {
|
|
2567
|
-
return __decodeString(this.view, this.offset +
|
|
2556
|
+
return __decodeString(this.view, this.offset + 1432, 128);
|
|
2568
2557
|
}
|
|
2569
2558
|
setPUBLISHER_KEY_HEX(value) {
|
|
2570
|
-
__encodeString(this.view, this.offset +
|
|
2559
|
+
__encodeString(this.view, this.offset + 1432, 128, value);
|
|
2571
2560
|
this.setHasPUBLISHER_KEY_HEX(true);
|
|
2572
2561
|
}
|
|
2573
2562
|
hasPUBLISHER_KEY_SOURCE() {
|
|
@@ -2577,14 +2566,14 @@ const _P2pPnmEntry = class _P2pPnmEntry {
|
|
|
2577
2566
|
__writePresence(this.view, this.offset, 12, value);
|
|
2578
2567
|
}
|
|
2579
2568
|
pUBLISHER_KEY_SOURCE() {
|
|
2580
|
-
return __decodeString(this.view, this.offset +
|
|
2569
|
+
return __decodeString(this.view, this.offset + 1561, 64);
|
|
2581
2570
|
}
|
|
2582
2571
|
setPUBLISHER_KEY_SOURCE(value) {
|
|
2583
|
-
__encodeString(this.view, this.offset +
|
|
2572
|
+
__encodeString(this.view, this.offset + 1561, 64, value);
|
|
2584
2573
|
this.setHasPUBLISHER_KEY_SOURCE(true);
|
|
2585
2574
|
}
|
|
2586
2575
|
};
|
|
2587
|
-
__publicField(_P2pPnmEntry, "SIZE",
|
|
2576
|
+
__publicField(_P2pPnmEntry, "SIZE", 1632);
|
|
2588
2577
|
__publicField(_P2pPnmEntry, "ALIGN", 8);
|
|
2589
2578
|
let P2pPnmEntry = _P2pPnmEntry;
|
|
2590
2579
|
const _P2pLatestDataset = class _P2pLatestDataset {
|
|
@@ -2680,23 +2669,23 @@ const _P2pLatestDataset = class _P2pLatestDataset {
|
|
|
2680
2669
|
__writePresence(this.view, this.offset, 4, value);
|
|
2681
2670
|
}
|
|
2682
2671
|
pNM_FILE_ID() {
|
|
2683
|
-
return __decodeString(this.view, this.offset + 282,
|
|
2672
|
+
return __decodeString(this.view, this.offset + 282, 255);
|
|
2684
2673
|
}
|
|
2685
2674
|
setPNM_FILE_ID(value) {
|
|
2686
|
-
__encodeString(this.view, this.offset + 282,
|
|
2675
|
+
__encodeString(this.view, this.offset + 282, 255, value);
|
|
2687
2676
|
this.setHasPNM_FILE_ID(true);
|
|
2688
2677
|
}
|
|
2689
2678
|
pNM_PUBLISH_MS() {
|
|
2690
|
-
return this.view.getBigUint64(this.offset +
|
|
2679
|
+
return this.view.getBigUint64(this.offset + 544, true);
|
|
2691
2680
|
}
|
|
2692
2681
|
setPNM_PUBLISH_MS(value) {
|
|
2693
|
-
this.view.setBigUint64(this.offset +
|
|
2682
|
+
this.view.setBigUint64(this.offset + 544, value, true);
|
|
2694
2683
|
}
|
|
2695
2684
|
pNM_SIGNATURE_VERIFIED() {
|
|
2696
|
-
return this.view.getUint8(this.offset +
|
|
2685
|
+
return this.view.getUint8(this.offset + 552) !== 0;
|
|
2697
2686
|
}
|
|
2698
2687
|
setPNM_SIGNATURE_VERIFIED(value) {
|
|
2699
|
-
this.view.setUint8(this.offset +
|
|
2688
|
+
this.view.setUint8(this.offset + 552, value ? 1 : 0);
|
|
2700
2689
|
}
|
|
2701
2690
|
hasPNM_ATTRIBUTION() {
|
|
2702
2691
|
return __readPresence(this.view, this.offset, 5);
|
|
@@ -2705,10 +2694,10 @@ const _P2pLatestDataset = class _P2pLatestDataset {
|
|
|
2705
2694
|
__writePresence(this.view, this.offset, 5, value);
|
|
2706
2695
|
}
|
|
2707
2696
|
pNM_ATTRIBUTION() {
|
|
2708
|
-
return __decodeString(this.view, this.offset +
|
|
2697
|
+
return __decodeString(this.view, this.offset + 553, 16);
|
|
2709
2698
|
}
|
|
2710
2699
|
setPNM_ATTRIBUTION(value) {
|
|
2711
|
-
__encodeString(this.view, this.offset +
|
|
2700
|
+
__encodeString(this.view, this.offset + 553, 16, value);
|
|
2712
2701
|
this.setHasPNM_ATTRIBUTION(true);
|
|
2713
2702
|
}
|
|
2714
2703
|
hasBATCH_ID() {
|
|
@@ -2718,10 +2707,10 @@ const _P2pLatestDataset = class _P2pLatestDataset {
|
|
|
2718
2707
|
__writePresence(this.view, this.offset, 6, value);
|
|
2719
2708
|
}
|
|
2720
2709
|
bATCH_ID() {
|
|
2721
|
-
return __decodeString(this.view, this.offset +
|
|
2710
|
+
return __decodeString(this.view, this.offset + 570, 128);
|
|
2722
2711
|
}
|
|
2723
2712
|
setBATCH_ID(value) {
|
|
2724
|
-
__encodeString(this.view, this.offset +
|
|
2713
|
+
__encodeString(this.view, this.offset + 570, 128, value);
|
|
2725
2714
|
this.setHasBATCH_ID(true);
|
|
2726
2715
|
}
|
|
2727
2716
|
hasPROVIDER_ID() {
|
|
@@ -2731,10 +2720,10 @@ const _P2pLatestDataset = class _P2pLatestDataset {
|
|
|
2731
2720
|
__writePresence(this.view, this.offset, 7, value);
|
|
2732
2721
|
}
|
|
2733
2722
|
pROVIDER_ID() {
|
|
2734
|
-
return __decodeString(this.view, this.offset +
|
|
2723
|
+
return __decodeString(this.view, this.offset + 699, 128);
|
|
2735
2724
|
}
|
|
2736
2725
|
setPROVIDER_ID(value) {
|
|
2737
|
-
__encodeString(this.view, this.offset +
|
|
2726
|
+
__encodeString(this.view, this.offset + 699, 128, value);
|
|
2738
2727
|
this.setHasPROVIDER_ID(true);
|
|
2739
2728
|
}
|
|
2740
2729
|
hasSOURCE_NAME() {
|
|
@@ -2744,35 +2733,35 @@ const _P2pLatestDataset = class _P2pLatestDataset {
|
|
|
2744
2733
|
__writePresence(this.view, this.offset, 8, value);
|
|
2745
2734
|
}
|
|
2746
2735
|
sOURCE_NAME() {
|
|
2747
|
-
return __decodeString(this.view, this.offset +
|
|
2736
|
+
return __decodeString(this.view, this.offset + 828, 128);
|
|
2748
2737
|
}
|
|
2749
2738
|
setSOURCE_NAME(value) {
|
|
2750
|
-
__encodeString(this.view, this.offset +
|
|
2739
|
+
__encodeString(this.view, this.offset + 828, 128, value);
|
|
2751
2740
|
this.setHasSOURCE_NAME(true);
|
|
2752
2741
|
}
|
|
2753
2742
|
rECORD_COUNT() {
|
|
2754
|
-
return this.view.getBigUint64(this.offset +
|
|
2743
|
+
return this.view.getBigUint64(this.offset + 960, true);
|
|
2755
2744
|
}
|
|
2756
2745
|
setRECORD_COUNT(value) {
|
|
2757
|
-
this.view.setBigUint64(this.offset +
|
|
2746
|
+
this.view.setBigUint64(this.offset + 960, value, true);
|
|
2758
2747
|
}
|
|
2759
2748
|
bYTE_COUNT() {
|
|
2760
|
-
return this.view.getBigUint64(this.offset +
|
|
2749
|
+
return this.view.getBigUint64(this.offset + 968, true);
|
|
2761
2750
|
}
|
|
2762
2751
|
setBYTE_COUNT(value) {
|
|
2763
|
-
this.view.setBigUint64(this.offset +
|
|
2752
|
+
this.view.setBigUint64(this.offset + 968, value, true);
|
|
2764
2753
|
}
|
|
2765
2754
|
pARTS() {
|
|
2766
|
-
return this.view.getUint32(this.offset +
|
|
2755
|
+
return this.view.getUint32(this.offset + 976, true);
|
|
2767
2756
|
}
|
|
2768
2757
|
setPARTS(value) {
|
|
2769
|
-
this.view.setUint32(this.offset +
|
|
2758
|
+
this.view.setUint32(this.offset + 976, value, true);
|
|
2770
2759
|
}
|
|
2771
2760
|
pUBLISHED_MS() {
|
|
2772
|
-
return this.view.getBigUint64(this.offset +
|
|
2761
|
+
return this.view.getBigUint64(this.offset + 984, true);
|
|
2773
2762
|
}
|
|
2774
2763
|
setPUBLISHED_MS(value) {
|
|
2775
|
-
this.view.setBigUint64(this.offset +
|
|
2764
|
+
this.view.setBigUint64(this.offset + 984, value, true);
|
|
2776
2765
|
}
|
|
2777
2766
|
hasETAG_FNV1A64() {
|
|
2778
2767
|
return __readPresence(this.view, this.offset, 9);
|
|
@@ -2781,10 +2770,10 @@ const _P2pLatestDataset = class _P2pLatestDataset {
|
|
|
2781
2770
|
__writePresence(this.view, this.offset, 9, value);
|
|
2782
2771
|
}
|
|
2783
2772
|
eTAG_FNV1A64() {
|
|
2784
|
-
return __decodeString(this.view, this.offset +
|
|
2773
|
+
return __decodeString(this.view, this.offset + 992, 16);
|
|
2785
2774
|
}
|
|
2786
2775
|
setETAG_FNV1A64(value) {
|
|
2787
|
-
__encodeString(this.view, this.offset +
|
|
2776
|
+
__encodeString(this.view, this.offset + 992, 16, value);
|
|
2788
2777
|
this.setHasETAG_FNV1A64(true);
|
|
2789
2778
|
}
|
|
2790
2779
|
hasREF() {
|
|
@@ -2794,10 +2783,10 @@ const _P2pLatestDataset = class _P2pLatestDataset {
|
|
|
2794
2783
|
__writePresence(this.view, this.offset, 10, value);
|
|
2795
2784
|
}
|
|
2796
2785
|
rEF() {
|
|
2797
|
-
return new BodyRef(this.buffer, this.offset +
|
|
2786
|
+
return new BodyRef(this.buffer, this.offset + 1016);
|
|
2798
2787
|
}
|
|
2799
2788
|
};
|
|
2800
|
-
__publicField(_P2pLatestDataset, "SIZE",
|
|
2789
|
+
__publicField(_P2pLatestDataset, "SIZE", 1072);
|
|
2801
2790
|
__publicField(_P2pLatestDataset, "ALIGN", 8);
|
|
2802
2791
|
let P2pLatestDataset = _P2pLatestDataset;
|
|
2803
2792
|
const _NodeStatusReport = class _NodeStatusReport {
|
|
@@ -3891,6 +3880,7 @@ export {
|
|
|
3891
3880
|
P2pSummary,
|
|
3892
3881
|
ProtocolParams,
|
|
3893
3882
|
Provenance,
|
|
3883
|
+
ProvenanceAttribute,
|
|
3894
3884
|
PubsubParams,
|
|
3895
3885
|
PubsubSubscribed,
|
|
3896
3886
|
QuerySurfaceLimits,
|
|
@@ -3903,7 +3893,6 @@ export {
|
|
|
3903
3893
|
SocketParams,
|
|
3904
3894
|
SocketResult,
|
|
3905
3895
|
SqlStreamParams,
|
|
3906
|
-
SqlValue,
|
|
3907
3896
|
StorageDeleteParams,
|
|
3908
3897
|
StorageExpireParams,
|
|
3909
3898
|
StorageExpireResult,
|