@redis/json 1.0.5 → 1.0.7

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.
@@ -1,4 +1,5 @@
1
1
  import { RedisJSON } from '.';
2
2
  export declare const FIRST_KEY_INDEX = 1;
3
+ export declare const IS_READ_ONLY = true;
3
4
  export declare function transformArguments(keys: Array<string>, path: string): Array<string>;
4
5
  export declare function transformReply(reply: Array<string | null>): Array<RedisJSON | null>;
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.transformReply = exports.transformArguments = exports.FIRST_KEY_INDEX = void 0;
3
+ exports.transformReply = exports.transformArguments = exports.IS_READ_ONLY = exports.FIRST_KEY_INDEX = void 0;
4
4
  const _1 = require(".");
5
5
  exports.FIRST_KEY_INDEX = 1;
6
+ exports.IS_READ_ONLY = true;
6
7
  function transformArguments(keys, path) {
7
8
  return [
8
9
  'JSON.MGET',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redis/json",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",