{"_id":"@arendajaelu/postgresql-app-session","_rev":"3-f91aa7c9d444c017bcae5126216225d8","name":"@arendajaelu/postgresql-app-session","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@arendajaelu/postgresql-app-session","version":"1.0.0","description":"Shopify App Session Storage for PostgreSQL with bugfixing","main":"./build/cjs/postgresql.js","types":"./build/ts/postgresql.d.ts","scripts":{},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/arendajaelu/postgresql-app-session-for-shopify.git"},"keywords":["shopify","postgre","session","shopify-app-session-storage-postgresql"],"author":{"name":"Arendaja Elu"},"license":"MIT","bugs":{"url":"https://github.com/arendajaelu/postgresql-app-session-for-shopify/issues"},"homepage":"https://github.com/arendajaelu/postgresql-app-session-for-shopify#readme","dependencies":{"@shopify/shopify-api":"^6.1.0","@shopify/shopify-app-session-storage":"^1.0.2","pg":"^8.8.0","tslib":"^2.4.0"},"devDependencies":{"@shopify/eslint-plugin":"^42.0.1","@shopify/prettier-config":"^1.1.2","@shopify/shopify-app-session-storage-test-utils":"^0.0.3","@types/jest":"^29.1.1","@types/pg":"^8.6.5","eslint":"^8.24.0","eslint-plugin-prettier":"^4.2.1","jest":"^28.1.3","jest-fetch-mock":"^3.0.3","jest-runner-eslint":"^1.1.0","prettier":"^2.7.1","ts-jest":"^28.0.8","ts-node":"^10.9.1","typescript":"4.8.4"},"gitHead":"ed5696e9393e6750b99391ec4cbeb99af91d6862","_id":"@arendajaelu/postgresql-app-session@1.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-lPhjjrO2mHRC5nRiiyxfZKbpzTR2kOECAC7rfZ5EMN52MzASCeXJEC8ghWXQc7qzt+c/kovuucvdfoAwqGJMew==","shasum":"86a6d626a994665bfd0f4b475e0ecb9ce070a54a","tarball":"https://registry.npmjs.org/@arendajaelu/postgresql-app-session/-/postgresql-app-session-1.0.0.tgz","fileCount":2,"unpackedSize":1628,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMmT59/6Qm8V8zB/yCRP9aB21WV4W3Mjlrjf8QOmm97gIhAPp2uHSd9xEN4zQrZOlgGxZEjhPhLzNzUBbYswMsvGH7"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2j4aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqsKA//W3oHMaiWfv8OA9S0WX/hs0m2haXMIvn5LC464bNIViARybrD\r\n14iU+eAMgaw4nqiif1FcFvk4Xj6UEuKjfKwKlJaPa3oZE69co4cHmEu2t8Am\r\nTNVDddifcarCOa+jOMkyzus0rS+95oqhOrr6ZU3comX3xqxcSHblXGgJkcir\r\nY2fLfmOn+TVZMJC8ur3UFnymiYx79jKJC2ox8ny4L7qchogDad+07tM4YJhT\r\nWfGX+avV1Ah1Pb9snNzBgpqijJec4IaFToCrgPS74Ak5r8tjE/pxM3RslZ5n\r\nS8mUCjbBXsZ5NxHbIqizDRMB5izfhIn709R8p0h38myko6/qD2C3F4tMl2xQ\r\nEsMmdFAqIvbJdWnOcayU7AxaaHbeWQ9elmHo9YceqbhzaAR7Mk45c+LRuwII\r\nULcKnzgaFPnQ/We2nIQSeUNYysYvcVSzGr78Md+dlThmI4cOXaPTOIVJIyz8\r\nTSak8F4/EnJkoK7G98lH/u37pchJLqcqmX4TJ3JdbjKktTAvCW97Oy3PY1oC\r\njWAVQq59ovDV6DULlwEiUIWrSRwaLTTD8JjnJrM7/k0jHo1JE+/Ps33bmEB2\r\nD4+EM8hahD4PUlCqv50U6EVVkcTVl1ML9bV/EFxWA+jFeMoe2Tf+jLe2jL9Y\r\ns9XkX1cC26zXCPeKh3yjwzkMEY6QRoJ06nw=\r\n=GSZY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arendajaelu","email":"arendajaelu@gmail.com"},"directories":{},"maintainers":[{"name":"arendajaelu","email":"arendajaelu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postgresql-app-session_1.0.0_1675247130496_0.2655822221517703"},"_hasShrinkwrap":false},"1.0.1":{"name":"@arendajaelu/postgresql-app-session","version":"1.0.1","description":"Shopify App Session Storage for PostgreSQL with bugfixing","main":"./build/cjs/postgresql.js","types":"./build/ts/postgresql.d.ts","scripts":{},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/arendajaelu/postgresql-app-session-for-shopify.git"},"keywords":["shopify","postgre","session","shopify-app-session-storage-postgresql"],"author":{"name":"Arendaja Elu"},"license":"MIT","bugs":{"url":"https://github.com/arendajaelu/postgresql-app-session-for-shopify/issues"},"homepage":"https://github.com/arendajaelu/postgresql-app-session-for-shopify#readme","dependencies":{"@shopify/shopify-api":"^6.1.0","@shopify/shopify-app-session-storage":"^1.0.2","pg":"^8.8.0","tslib":"^2.4.0"},"devDependencies":{"@shopify/eslint-plugin":"^42.0.1","@shopify/prettier-config":"^1.1.2","@shopify/shopify-app-session-storage-test-utils":"^0.0.3","@types/jest":"^29.1.1","@types/pg":"^8.6.5","eslint":"^8.24.0","eslint-plugin-prettier":"^4.2.1","jest":"^28.1.3","jest-fetch-mock":"^3.0.3","jest-runner-eslint":"^1.1.0","prettier":"^2.7.1","ts-jest":"^28.0.8","ts-node":"^10.9.1","typescript":"4.8.4"},"gitHead":"8e123245fd665e836403f7fbd3bfc4925fd543bf","_id":"@arendajaelu/postgresql-app-session@1.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-Lqrc6FPW9qKI1n/zwbtWmjhT9b/odw3v/smFHFMMWQCGBJnwcJyjsD2RB0herB/PovDX9H5St/7KhaEQnifGFA==","shasum":"8893be5f672a798086429451e767d2cdc485c8c6","tarball":"https://registry.npmjs.org/@arendajaelu/postgresql-app-session/-/postgresql-app-session-1.0.1.tgz","fileCount":2,"unpackedSize":1628,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN7wOu619S90yQahvSe8Wi7O/ERrOKmyUL8S2NrCCl1AIgTL/eHytM79p/mnfgUFAOHhAKwgi9o3GEsqC1B1KaIuc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2kCRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrm0hAAnIx6RcXD3aISAElAy1C9c990GFU1Q3YwIGtptRdwIq8/e4zw\r\nRscPL5Qs7lPk6knaN0A3KlbD5L4k2PqOPTXNuOH1DBw6lqd46o0lDTknwXaF\r\nKGSIUicph29ujVQveh0A0XejIEwqHginR201TB5wftHh7vlXlctBaIEcw/Pa\r\nSFnv169MSRsj8qFNoEUIYqGkZZVtE+ZbGdUhRH0CldRnJR4ei0Kvk7/YTpLz\r\nG1M5kgkfBtuYvbJNQ40tcAKDJBqmIGFcynBZL7yqjc7+xyXJd11Zsc5QxFSv\r\ne5RdfASsQHbbbw2Y2aKSvu26MKtUR54861a7JwBO0Na6lzFRS3pvltoEf1qC\r\nmQp7cOqmCaoGocvi9e0bVoPBg8EjoFoys+9MjHXX3eByUEyDkS1ciNzBYwcd\r\nLOrmehArRvspyquihhhEXO9fhsO7L0hst4se7wI3ZbJCketMI44E3LH7J8Ca\r\n9Jud32ypsje9ZGYJ35QFuOwFIJRyxKHbtKAhAOwWgiEPGv7UG1UjTaOpzVv9\r\nIa5geMpcrhSuwkfN/FERoyUD6O5+zTcvdwrVZ9gvw8BA+4oESsdr6lcaacb8\r\n1DR0tldQ8UMvXD6NU3+Mq5Y/tN3Ng6u+Ticx0d4WflmEswFQoeDeTvIMUcR0\r\nTMfzabLp7lt6mC1RdX8X+IXVQE4h2UEM3tg=\r\n=9/du\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arendajaelu","email":"arendajaelu@gmail.com"},"directories":{},"maintainers":[{"name":"arendajaelu","email":"arendajaelu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postgresql-app-session_1.0.1_1675247761446_0.01915274222512342"},"_hasShrinkwrap":false},"1.0.3":{"name":"@arendajaelu/postgresql-app-session","version":"1.0.3","description":"Shopify App Session Storage for PostgreSQL with bugfixing","main":"./build/cjs/postgresql.js","types":"./build/ts/postgresql.d.ts","scripts":{},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/arendajaelu/postgresql-app-session-for-shopify.git"},"keywords":["shopify","postgre","session","shopify-app-session-storage-postgresql"],"author":{"name":"Arendaja Elu"},"license":"MIT","bugs":{"url":"https://github.com/arendajaelu/postgresql-app-session-for-shopify/issues"},"homepage":"https://github.com/arendajaelu/postgresql-app-session-for-shopify#readme","dependencies":{"@shopify/shopify-api":"^6.1.0","@shopify/shopify-app-session-storage":"^1.0.2","pg":"^8.8.0","tslib":"^2.4.0"},"devDependencies":{"@shopify/eslint-plugin":"^42.0.1","@shopify/prettier-config":"^1.1.2","@types/jest":"^29.1.1","@types/pg":"^8.6.5","eslint":"^8.24.0","eslint-plugin-prettier":"^4.2.1","jest":"^28.1.3","jest-fetch-mock":"^3.0.3","jest-runner-eslint":"^1.1.0","prettier":"^2.7.1","ts-jest":"^28.0.8","ts-node":"^10.9.1","typescript":"4.8.4"},"gitHead":"8e123245fd665e836403f7fbd3bfc4925fd543bf","_id":"@arendajaelu/postgresql-app-session@1.0.3","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-2HyReoTR3iLx1P2WbStFKxz0GCDxJpFq7jYYp1OFbBtPr+2CaaLP3wy+JU88N+RBnzgDV+l0DaxfL+G+fBWJew==","shasum":"333e1b7c5a9399dd9193120f486ac2c47814ee5f","tarball":"https://registry.npmjs.org/@arendajaelu/postgresql-app-session/-/postgresql-app-session-1.0.3.tgz","fileCount":11,"unpackedSize":77341,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERSstzqKROJjE44HGrXged0J4sTHH7ce0P66XBktaLbAiEAo+pIQsrHsv1X9S2DNTkLp1lYkrizc8j4Xs1J9n+3yFY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2kqAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovUBAAjPV72llx197/VEmFliMMgJyHadGNL+yRZ65lWPpr+hlElUOH\r\nou45Ov1pdtu8QCXmt5XsKQT/3mOQsC6ErWWKpr4JWvRvg74fo8xz5yf62JK+\r\nO9hJnoh92Y3NuZ5TKjc0qkecNPdE3aCajDHShOx5/V5bk37/bjiRA97pHcJY\r\nhYcnnLpuaVKsbXe76SXIYr0JMUar0BF6gCxKG3IQwCzWE4h4TpvAYrBSaXay\r\nbT4otXBlGAa+N/jT3onG9aOr31wtuz12yUTlPT3YLZPljVvCXl4d2qpAKh/4\r\nVgx9CHcQx243ds4B5I9fVCecYiEOnPwX7PbLNiXAzaxwwZylqCnDTSxqdRhy\r\nk+LiDhChizamJnQ3/sWDNqWD8so+NEdpMAFBBoMMYeXwufA9JQpJKTZ8h2oJ\r\nYhnS0+9+bi3fpZofEVPeowhjYjVXNE/NVWkbUImZrjxatYzhxoslrORMb3vW\r\ny0Da6unoX2BayDj3aIBXW9nm2ptleDnIuSYiArU/ddrkfubXMwa7/0s/Gdqy\r\njrCNI0A+gCZkTaVH8ZR1NDklvxRlgBM+0ljgoTgD+lghKhrHTt1BS2vQT4B2\r\nnFamDJpYgr2uhkaoCBmSBHp/Rlh9w4LisdmkL0VLx1uhESwfC9GkaMy7fpOz\r\n8CmrcmrUzTkO/PSKDHdqWEtFeKrgwvpZygE=\r\n=iAjh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arendajaelu","email":"arendajaelu@gmail.com"},"directories":{},"maintainers":[{"name":"arendajaelu","email":"arendajaelu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postgresql-app-session_1.0.3_1675250303685_0.169595755765666"},"_hasShrinkwrap":false},"1.0.4":{"name":"@arendajaelu/postgresql-app-session","version":"1.0.4","description":"Shopify App Session Storage for PostgreSQL with bugfixing","main":"./build/cjs/postgresql.js","types":"./build/ts/postgresql.d.ts","scripts":{},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/arendajaelu/postgresql-app-session-for-shopify.git"},"keywords":["shopify","postgre","session","shopify-app-session-storage-postgresql"],"author":{"name":"Arendaja Elu"},"license":"MIT","bugs":{"url":"https://github.com/arendajaelu/postgresql-app-session-for-shopify/issues"},"homepage":"https://github.com/arendajaelu/postgresql-app-session-for-shopify#readme","dependencies":{"@shopify/shopify-api":"^6.1.0","@shopify/shopify-app-session-storage":"^1.0.2","pg":"^8.8.0","tslib":"^2.4.0"},"devDependencies":{"@shopify/eslint-plugin":"^42.0.1","@shopify/prettier-config":"^1.1.2","@types/jest":"^29.1.1","@types/pg":"^8.6.5","eslint":"^8.24.0","eslint-plugin-prettier":"^4.2.1","jest":"^28.1.3","jest-fetch-mock":"^3.0.3","jest-runner-eslint":"^1.1.0","prettier":"^2.7.1","ts-jest":"^28.0.8","ts-node":"^10.9.1","typescript":"4.8.4"},"gitHead":"02238c6ce447bcd9696808c4f3d97b8e51e3b34f","_id":"@arendajaelu/postgresql-app-session@1.0.4","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-jfU39nmZW9fvgnnzTpX2Bq6h9PYqiw2qK2faxJqMHoXD+F2ZKeGipivFrwUVPg1I9ePHbL/V8GxYCZ9z42D8nA==","shasum":"21008d9ce99cff74dd6be9e6b87d026cdb691db1","tarball":"https://registry.npmjs.org/@arendajaelu/postgresql-app-session/-/postgresql-app-session-1.0.4.tgz","fileCount":11,"unpackedSize":78490,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGTT3qVqvAtpTU0IN93GmoV2H31mxEHh4cNS22w0zuzQIhALMhc/57o7fQo7b4ORS7/ND7bJgkEAL7MngIyw5yRUEw"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2k47ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDIg//c6umYkkZxye543q1eC92dGnxhr60ZczLdREKBPQlgBLBe8qx\r\nQmn9AkLuR0aFTOpRxulcVE60uISiYIOFkUvJ2LfN1+kCK8sfCLozauNJYR2f\r\nsmeIr8UFtqAmQPkpSb9/MDe5F0gcagw6yIejzo7D17iFTseyLD+1Z16o0+FH\r\nLj3o5eoTd0IXdDr7oT26253olXVm/ifIJ4rj0f8T8kxJfpdsIBRYGPrOpBdX\r\noeo8SIfZlvVTlNOyISFvCTGMK0VfZI2xSFaTBjcWon9+ODVXfzq4P/LVn7Hi\r\n3dsTgdY0ebw/40juk+JLGrShjXySH2Sa/VSJ0wvw8qD81DvQ8HfexkQ9ACsT\r\nt+5MWU/+8aX8aAU8D2OrXdfAxxwQxXtiDfVnweiRgcB+55N294XS/nv7A30j\r\nQ69EZWTKs9aLIf6vZjwscYNuZHwdlxYn4J4RuZSO8vRzno7sOIY/aT1Xu/TD\r\nUe9KVIzB+6t019pfV9Chlu4dOWf4Ra20G7qI61t7wsQv2Ow2RVFzBKUl0iKO\r\nRRTryTfHmYMrL3L95UYUWdXO3kQRAylLUWAzGppjrdEF3ccJmGw39BYYIOLX\r\nTxpWTP8ZtqObEYKvLYJfd7VF33ObZXgrsGuCsy/XWf5mzrmq82wXn78Krfpc\r\nQoGmBvmCCivQvminsYGyfep1G/E/Qhsq3AI=\r\n=ekiJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arendajaelu","email":"arendajaelu@gmail.com"},"directories":{},"maintainers":[{"name":"arendajaelu","email":"arendajaelu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postgresql-app-session_1.0.4_1675251259745_0.4307892806289877"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-01T10:25:30.421Z","1.0.0":"2023-02-01T10:25:30.705Z","modified":"2023-02-01T11:34:20.029Z","1.0.1":"2023-02-01T10:36:01.571Z","1.0.3":"2023-02-01T11:18:23.971Z","1.0.4":"2023-02-01T11:34:19.945Z"},"maintainers":[{"name":"arendajaelu","email":"arendajaelu@gmail.com"}],"description":"Shopify App Session Storage for PostgreSQL with bugfixing","homepage":"https://github.com/arendajaelu/postgresql-app-session-for-shopify#readme","keywords":["shopify","postgre","session","shopify-app-session-storage-postgresql"],"repository":{"type":"git","url":"git+https://github.com/arendajaelu/postgresql-app-session-for-shopify.git"},"author":{"name":"Arendaja Elu"},"bugs":{"url":"https://github.com/arendajaelu/postgresql-app-session-for-shopify/issues"},"license":"MIT","readme":"# postgresql-app-session-for-shopify\r\nShopify App Session Storage for PostgreSQL with bugfixing\r\n\r\nThis package fixed two potential issues:\r\n\r\n1. Add “CREATE TABLE IF NOT EXISTS” into the createTable function\r\n2. Amend the field \"scope\" from varchar to text (supports over 255 chars in app scope)\r\n\r\n\r\n# Session Storage Adapter for PostgreSQL\r\n\r\nThis package implements the `SessionStorage` interface that works with an instance of [PostgreSQL](https://www.postgresql.org).\r\n\r\n```js\r\nimport {shopifyApp} from '@shopify/shopify-app-express';\r\nimport {PostgreSQLSessionStorage} from '@shopify/shopify-app-session-storage-postgresql';\r\n\r\nconst shopify = shopifyApp({\r\n  sessionStorage: new PostgreSQLSessionStorage(\r\n    'postgres://username:password@host/database',\r\n  ),\r\n  // ...\r\n});\r\n\r\n// OR\r\n\r\nconst shopify = shopifyApp({\r\n  sessionStorage: PostgreSQLSessionStorage.withCredentials(\r\n    'host.com',\r\n    'thedatabase',\r\n    'username',\r\n    'password',\r\n  ),\r\n  // ...\r\n});\r\n```\r\n\r\nIf you prefer to use your own implementation of a session storage mechanism that is compatible with the `@shopify/shopify-app-express` package, see the [implementing session storage guide](../shopify-app-session-storage/implementing-session-storage.md).\r\n","readmeFilename":"README.md"}