prostgles-server 2.0.38 → 2.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.
@@ -134,6 +134,31 @@ export default async function client_only(db: DBHandlerClient, auth: Auth, log:
134
134
  ]);
135
135
  });
136
136
 
137
+ // await tryRun("Duplicate subscription", async () => {
138
+
139
+ // return new Promise(async (resolve, reject) => {
140
+ // let data1 = [], data2 = [], cntr = 0;
141
+ // function check(){
142
+ // cntr++;
143
+ // if(cntr === 2){
144
+ // assert.equal(data1.length, data2.length);
145
+ // console.error(data1, data2)
146
+ // reject( data1);
147
+ // resolve(data1)
148
+ // }
149
+ // }
150
+
151
+ // const sub1 = await db.planes.subscribe({}, {}, data => {
152
+ // data1 = data;
153
+ // check()
154
+ // });
155
+ // const sub2 = await db.planes.subscribe({}, {}, data => {
156
+ // data2 = data;
157
+ // check()
158
+ // });
159
+ // })
160
+ // })
161
+
137
162
  const cols = await db.insert_rules.getColumns();
138
163
  assert.equal(cols.filter(({ insert, update: u, select: s, delete: d }) => insert && !u && !s && !d).length, 3, "Validated getColumns failed")
139
164
 
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "../..": {
25
25
  "name": "prostgles-server",
26
- "version": "2.0.37",
26
+ "version": "2.0.41",
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "@aws-sdk/client-s3": "^3.32.0",