1.0.12 • Published 6 years ago

prisma-client-lib-browser v1.0.12

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Making Prisma Client on Browser

Change on node_modules/prettier/index.js

  1. import { inspect } from 'util'; //line: 2 add this to top of file

  2. // var utilInspect = eval(require('util').inspect); //line: 40636 change with var utilInspect = inspect;

  3. // var prettier = src; // module.exports = prettier; //line: 42448 change with export const prettier = src;

Change on node_modules/prisma-client-lib/dist/Client.js

  1. var token = secret jsonwebtoken_1.sign({}, secret) : undefined; //line: 167 change this with var token = secret //? jsonwebtoken_1.sign({}, secret) : undefined;
  2. var WS = require("ws"); Change ws with isomorphic-ws on line: 73 with token var WS = require("isomorphic-ws");

Change on prisma-client/index.js

  1. Change secret on line: 85 with token
  2. prisma-client-lib change with prisma-client-lib-browser/src/prisma-client-lib
1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago