engage-engine 1.232.90720005 → 1.234.90740001

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/engage.cpp CHANGED
@@ -1161,6 +1161,27 @@ NAN_METHOD(getDeviceId)
1161
1161
  }
1162
1162
 
1163
1163
 
1164
+ //--------------------------------------------------------
1165
+ NAN_METHOD(verifyRiff)
1166
+ {
1167
+ NANRETI(engageVerifyRiff(STRVAL(0)));
1168
+ }
1169
+
1170
+
1171
+ //--------------------------------------------------------
1172
+ NAN_METHOD(getRiffDescriptor)
1173
+ {
1174
+ const char *rc = engageGetRiffDescriptor();
1175
+
1176
+ if(rc == nullptr)
1177
+ {
1178
+ rc = "";
1179
+ }
1180
+
1181
+ NANRETS(rc);
1182
+ }
1183
+
1184
+
1164
1185
  //--------------------------------------------------------
1165
1186
  NAN_MODULE_INIT(Init)
1166
1187
  {
@@ -1236,6 +1257,9 @@ NAN_MODULE_INIT(Init)
1236
1257
  ENGAGE_BINDING(isCryptoFipsValidated);
1237
1258
 
1238
1259
  ENGAGE_BINDING(getDeviceId);
1260
+
1261
+ ENGAGE_BINDING(verifyRiff);
1262
+ ENGAGE_BINDING(getRiffDescriptor);
1239
1263
  }
1240
1264
 
1241
1265
  NODE_MODULE(engage, Init)