@appconda/nextjs 1.0.41 → 1.0.42

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,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Cache = Cache;
4
- const Services_1 = require("lib/Services");
4
+ const Services_1 = require("../lib/Services");
5
5
  function stableStringify(obj) {
6
6
  if (obj && typeof obj === "object" && !Array.isArray(obj)) {
7
7
  return `{${Object.keys(obj).sort().map(key => `"${key}":${stableStringify(obj[key])}`).join(",")}}`;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Invalidate = Invalidate;
4
- const Services_1 = require("lib/Services");
4
+ const Services_1 = require("../lib/Services");
5
5
  function Invalidate(keys) {
6
6
  return function (target, propertyKey, descriptor) {
7
7
  const originalMethod = descriptor.value;
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.Node = void 0;
13
- const Cache_1 = require("decorators/Cache");
13
+ const Cache_1 = require("../decorators/Cache");
14
14
  const service_client_1 = require("../service-client");
15
15
  class Node extends service_client_1.ServiceClient {
16
16
  getServiceName() {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@appconda/nextjs",
3
3
  "homepage": "https://appconda.io/support",
4
4
  "description": "Appconda is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5
- "version": "1.0.41",
5
+ "version": "1.0.42",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -1,4 +1,5 @@
1
- import { Services } from "lib/Services";
1
+ import { Services } from "../lib/Services";
2
+
2
3
 
3
4
 
4
5
  function stableStringify(obj: any): string {
@@ -1,4 +1,5 @@
1
- import { Services } from "lib/Services";
1
+ import { Services } from "../lib/Services";
2
+
2
3
 
3
4
 
4
5
  export function Invalidate(keys: string | string[]) {
@@ -1,6 +1,7 @@
1
1
 
2
- import { Cache } from "decorators/Cache";
2
+
3
3
  import { Payload } from "../client";
4
+ import { Cache } from "../decorators/Cache";
4
5
  import { ServiceClient } from "../service-client";
5
6
 
6
7
  export class Node extends ServiceClient {