File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ Wraps [`postgres`](https://www.npmjs.com/package/postgres) API in a [`pg`](https
99
1010``` ts
1111import postgres from ' postgres' ;
12- import { createBridge } from ' postgres-bridge' ;
12+ import { createPostgresBridge } from ' postgres-bridge' ;
1313
14- const PostgresBridge = createBridge (postgres );
14+ const PostgresBridge = createPostgresBridge (postgres );
1515
1616// pg.Pool Configuration
1717const configuration = {
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export type BridgetClient = {
7171 release : ( ) => Promise < void > ,
7272} ;
7373
74- export const createBridge = ( postgres : typeof Postgres ) => {
74+ export const createPostgresBridge = ( postgres : typeof Postgres ) => {
7575 return class PostgresBridge {
7676 public readonly poolEvents : EventEmitter ;
7777
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ import {
66import postgres from 'postgres' ;
77import * as sinon from 'sinon' ;
88import {
9- createBridge ,
9+ createPostgresBridge ,
1010} from '../../src/bridge' ;
1111
12- const PostgresBridge = createBridge ( postgres ) ;
12+ const PostgresBridge = createPostgresBridge ( postgres ) ;
1313
1414const clients = [
1515 {
You can’t perform that action at this time.
0 commit comments