@kernelminds/create-enclave 0.0.1 → 0.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernelminds/create-enclave",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "🚀 The official Scailo starter framework. Instantly scaffold a complete, dependency-ready starter project that could be deployed as an application or a widget on Scailo.",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/scailo/create-enclave",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@inquirer/prompts": "^7.8.6",
42
- "@kernelminds/scailo-sdk": "^0.1.11",
42
+ "@kernelminds/scailo-sdk": "^0.1.13",
43
43
  "favicons": "^7.2.0",
44
44
  "typescript": "^5.9.3"
45
45
  }
@@ -7,7 +7,7 @@ require (
7
7
  github.com/go-redis/redis v6.15.9+incompatible
8
8
  github.com/gorilla/securecookie v1.1.2
9
9
  github.com/joho/godotenv v1.5.1
10
- github.com/scailo/go-sdk v0.1.6
10
+ github.com/scailo/go-sdk v0.1.10
11
11
  google.golang.org/grpc v1.77.0
12
12
  google.golang.org/protobuf v1.36.10
13
13
  )
@@ -92,8 +92,8 @@ github.com/quic-go/qpack v0.5.1 h1:giqksBPnT/HDtZ6VhtFKgoLOWmlyo9Ei6u9PqzIMbhI=
92
92
  github.com/quic-go/qpack v0.5.1/go.mod h1:+PC4XFrEskIVkcLzpEkbLqq1uCoxPhQuvK5rH1ZgaEg=
93
93
  github.com/quic-go/quic-go v0.54.0 h1:6s1YB9QotYI6Ospeiguknbp2Znb/jZYjZLRXn9kMQBg=
94
94
  github.com/quic-go/quic-go v0.54.0/go.mod h1:e68ZEaCdyviluZmy44P6Iey98v/Wfz6HCjQEm+l8zTY=
95
- github.com/scailo/go-sdk v0.1.6 h1:0o4L6IJ2tq6qAtsQoe+Q3AwTMLozeV3+vAhVGTdlmOY=
96
- github.com/scailo/go-sdk v0.1.6/go.mod h1:woakCIDaphiNoAXNZXj6YiG6ZDK0Sak+qDcuQMxd3B8=
95
+ github.com/scailo/go-sdk v0.1.10 h1:nV46RWJrvL8GkewGoUksTDbumrTDxXDinnEpIbsWtzw=
96
+ github.com/scailo/go-sdk v0.1.10/go.mod h1:woakCIDaphiNoAXNZXj6YiG6ZDK0Sak+qDcuQMxd3B8=
97
97
  github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
98
98
  github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
99
99
  github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
@@ -19,6 +19,7 @@ import (
19
19
  "google.golang.org/grpc"
20
20
  "google.golang.org/grpc/credentials"
21
21
  "google.golang.org/grpc/credentials/insecure"
22
+ "google.golang.org/grpc/keepalive"
22
23
  "google.golang.org/grpc/metadata"
23
24
  "google.golang.org/protobuf/proto"
24
25
 
@@ -227,7 +228,16 @@ func getGRPCConnection() *grpc.ClientConn {
227
228
  creds = grpc.WithTransportCredentials(credentials.NewClientTLSFromCert(nil, getServerURL()))
228
229
  }
229
230
 
230
- conn, err := grpc.NewClient(getServerURL(), creds)
231
+ // Max Message Size is 64MB
232
+ const maxMessageSize = 64 * 1024 * 1024
233
+ conn, err := grpc.NewClient(getServerURL(), creds, grpc.WithKeepaliveParams(keepalive.ClientParameters{
234
+ Time: 10 * time.Second, // Ping every 10s if idle
235
+ Timeout: time.Second, // Wait 1s for response
236
+ PermitWithoutStream: true, // Ping even if there are no active RPCs
237
+ }), grpc.WithDefaultCallOptions(
238
+ grpc.MaxCallRecvMsgSize(maxMessageSize),
239
+ grpc.MaxCallSendMsgSize(maxMessageSize),
240
+ ))
231
241
  if err != nil {
232
242
  log.Fatalf("did not connect: %v", err)
233
243
  }
@@ -10,5 +10,5 @@ dependencies = [
10
10
  "cryptography>=46.0.3",
11
11
  "dotenv>=0.9.9",
12
12
  "redis>=7.1.0",
13
- "scailo-sdk>=0.2.9",
13
+ "scailo-sdk>=0.2.11",
14
14
  ]
@@ -616,7 +616,7 @@ requires-dist = [
616
616
  { name = "cryptography", specifier = ">=46.0.3" },
617
617
  { name = "dotenv", specifier = ">=0.9.9" },
618
618
  { name = "redis", specifier = ">=7.1.0" },
619
- { name = "scailo-sdk", specifier = ">=0.2.9" },
619
+ { name = "scailo-sdk", specifier = ">=0.2.11" },
620
620
  ]
621
621
 
622
622
  [[package]]
@@ -639,7 +639,7 @@ wheels = [
639
639
 
640
640
  [[package]]
641
641
  name = "scailo-sdk"
642
- version = "0.2.9"
642
+ version = "0.2.11"
643
643
  source = { registry = "https://pypi.org/simple" }
644
644
  dependencies = [
645
645
  { name = "aiohappyeyeballs" },
@@ -675,9 +675,9 @@ dependencies = [
675
675
  { name = "urllib3" },
676
676
  { name = "yarl" },
677
677
  ]
678
- sdist = { url = "https://files.pythonhosted.org/packages/90/d8/f85b3f69a53d9ad4a7db1d06a67b11f78868d450d8049f11c8169a2dbd9f/scailo_sdk-0.2.9.tar.gz", hash = "sha256:5fc7809cbdc8e9c4e1bf1fb8ae8d55c1ffd8a3ac7e3ddca3c3249068dd638e49", size = 1245872, upload-time = "2025-12-30T20:48:26.177Z" }
678
+ sdist = { url = "https://files.pythonhosted.org/packages/93/e7/cedf0c04203b94bfeca11fb6a00076714a384985cba03892d0905951cba2/scailo_sdk-0.2.11.tar.gz", hash = "sha256:0213a3874dc138a8f4c5e5513baec923908d9f16cad2a9bc616c3057db471127", size = 1240968, upload-time = "2026-01-12T14:12:20.483Z" }
679
679
  wheels = [
680
- { url = "https://files.pythonhosted.org/packages/18/15/6ddc1b0438e8529508006f54a05417bcfaa9aaac99559bed1c8952500ab9/scailo_sdk-0.2.9-py3-none-any.whl", hash = "sha256:c3cee37e8d2691b450dc52d384eb80c43b57f07b797b152b08e9d5ef6d78a406", size = 1360741, upload-time = "2025-12-30T20:48:24.225Z" },
680
+ { url = "https://files.pythonhosted.org/packages/4b/c4/913b06dd44477027be43735908699af2acc74e7cf617fbe379e8978495c6/scailo_sdk-0.2.11-py3-none-any.whl", hash = "sha256:4b1832ca811fb96b5d5f7d30fadd4a3f485f41df715cbbfe57a1f5223feb2f78", size = 1354890, upload-time = "2026-01-12T14:12:18.666Z" },
681
681
  ]
682
682
 
683
683
  [[package]]