@platformatic/next 2.21.0 → 2.21.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.
@@ -59,7 +59,7 @@ export class CacheHandler {
59
59
  this.#subprefix = options.subprefix
60
60
  this.#meta = options.meta
61
61
 
62
- if (globalThis.platformatic) {
62
+ if (!this.#standalone && globalThis.platformatic) {
63
63
  this.#config ??= globalThis.platformatic.config.cache
64
64
  this.#logger ??= this.#createPlatformaticLogger()
65
65
  this.#store ??= getConnection(this.#config.url)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "2.21.0",
3
+ "version": "2.21.1",
4
4
  "description": "Platformatic Next.js Stackable",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -23,9 +23,9 @@
23
23
  "iovalkey": "^0.2.1",
24
24
  "msgpackr": "^1.11.2",
25
25
  "semver": "^7.6.3",
26
- "@platformatic/basic": "2.21.0",
27
- "@platformatic/utils": "2.21.0",
28
- "@platformatic/config": "2.21.0"
26
+ "@platformatic/config": "2.21.1",
27
+ "@platformatic/utils": "2.21.1",
28
+ "@platformatic/basic": "2.21.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@fastify/reply-from": "^11.0.0",
@@ -41,8 +41,8 @@
41
41
  "react-dom": "^18.3.1",
42
42
  "typescript": "^5.5.4",
43
43
  "ws": "^8.18.0",
44
- "@platformatic/composer": "2.21.0",
45
- "@platformatic/service": "2.21.0"
44
+ "@platformatic/composer": "2.21.1",
45
+ "@platformatic/service": "2.21.1"
46
46
  },
47
47
  "scripts": {
48
48
  "test": "npm run lint && borp --concurrency=1 --no-timeout",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/next/2.21.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/2.21.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js Stackable",
5
5
  "type": "object",