This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { startSpan } from "@sentry/remix"; | |
import type { StartSpanOptions } from "@sentry/types"; | |
import { | |
type AnyColumn, | |
type AnyTable, | |
type BuildQueryResult, | |
type DBQueryConfig, | |
type DrizzleTypeError, | |
type Equal, | |
type ExtractTablesWithRelations, |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var __create = Object.create; | |
var __defProp = Object.defineProperty; | |
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | |
var __getOwnPropNames = Object.getOwnPropertyNames; | |
var __getProtoOf = Object.getPrototypeOf; | |
var __hasOwnProp = Object.prototype.hasOwnProperty; | |
var __esm = (fn, res) => function __init() { | |
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"crypto/hmac" | |
"crypto/sha256" | |
"encoding/base64" | |
"encoding/hex" | |
"fmt" | |
"io/ioutil" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const https = require("https"); | |
const crypto = require("crypto"); | |
const accessKey = "<YOUR_RAPYD_ACCESS_KEY>"; | |
const secretKey = "<YOUR_RAPYD_SECRET_KEY>"; | |
const salt = crypto.randomBytes(12).toString("hex"); | |
const timestamp = (Math.floor(new Date().getTime() / 1000) - 10).toString(); | |
const method = "post"; | |
const path = "/v1/payments"; | |
const body = JSON.stringify({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import https from "https"; | |
import crypto from "crypto"; | |
const accessKey = "<YOUR_RAPYD_ACCESS_KEY>"; | |
const secretKey = "<YOUR_RAPYD_SECRET_KEY>"; | |
const salt = crypto.randomBytes(12).toString("hex"); | |
const timestamp = (Math.floor(new Date().getTime() / 1000) - 10).toString(); | |
const method = "post"; | |
const path = "/v1/payments"; | |
const body = JSON.stringify({ |