whatap 0.4.78 → 0.4.79
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/lib/service/tx-record.js
CHANGED
|
@@ -276,10 +276,14 @@ TxRecord.prototype.toObject = function(b) {
|
|
|
276
276
|
return service;
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
TxRecord.HTTP_METHOD={"GET":1,"POST":2,"PUT":3,"DELETE":4};
|
|
279
|
+
TxRecord.HTTP_METHOD={"GET":1,"POST":2,"PUT":3,"DELETE":4,"PATCH":5,"OPTIONS":6,"HEAD":7,"TRACE":8};
|
|
280
280
|
TxRecord.WEB_GET = 1;
|
|
281
281
|
TxRecord.WEB_POST = 2;
|
|
282
282
|
TxRecord.WEB_PUT = 3;
|
|
283
283
|
TxRecord.WEB_DELETE = 4;
|
|
284
|
+
TxRecord.WEB_PATCH = 5;
|
|
285
|
+
TxRecord.WEB_OPTIONS = 6;
|
|
286
|
+
TxRecord.WEB_HEAD = 7;
|
|
287
|
+
TxRecord.WEB_TRACE = 8;
|
|
284
288
|
|
|
285
289
|
module.exports = TxRecord;
|
package/package.json
CHANGED