Uses atcute to show how you can do upserts with atproto records
at main 131 lines 4.0 kB view raw
1lockfileVersion: '9.0' 2 3settings: 4 autoInstallPeers: true 5 excludeLinksFromLockfile: false 6 7importers: 8 9 .: 10 dependencies: 11 '@atcute/atproto': 12 specifier: ^3.1.10 13 version: 3.1.10 14 '@atcute/client': 15 specifier: ^4.2.1 16 version: 4.2.1 17 '@atcute/tid': 18 specifier: ^1.1.1 19 version: 1.1.1 20 dotenv: 21 specifier: ^17.2.3 22 version: 17.2.3 23 24packages: 25 26 '@atcute/atproto@3.1.10': 27 resolution: {integrity: sha512-+GKZpOc0PJcdWMQEkTfg/rSNDAAHxmAUGBl60g2az15etqJn5WaUPNGFE2sB7hKpwi5Ue2h/L0OacINcE/JDDQ==} 28 29 '@atcute/client@4.2.1': 30 resolution: {integrity: sha512-ZBFM2pW075JtgGFu5g7HHZBecrClhlcNH8GVP9Zz1aViWR+cjjBsTpeE63rJs+FCOHFYlirUyo5L8SGZ4kMINw==} 31 32 '@atcute/identity@1.1.3': 33 resolution: {integrity: sha512-oIqPoI8TwWeQxvcLmFEZLdN2XdWcaLVtlm8pNk0E72As9HNzzD9pwKPrLr3rmTLRIoULPPFmq9iFNsTeCIU9ng==} 34 35 '@atcute/lexicons@1.2.6': 36 resolution: {integrity: sha512-s76UQd8D+XmHIzrjD9CJ9SOOeeLPHc+sMmcj7UFakAW/dDFXc579fcRdRfuUKvXBL5v1Gs2VgDdlh/IvvQZAwA==} 37 38 '@atcute/tid@1.1.1': 39 resolution: {integrity: sha512-djJ8UGhLkTU5V51yCnBEruMg35qETjWzWy5sJG/2gEOl2Gd7rQWHSaf+yrO6vMS5EFA38U2xOWE3EDUPzvc2ZQ==} 40 41 '@atcute/time-ms@1.0.0': 42 resolution: {integrity: sha512-iWEOlMBcO3ktB+zQPC2kXka9H/798we+IWq2sjhb+hQJNNfcJrwejzvNi/68Q3jKo/hdfwZjRU9iF8U6D32/2Q==} 43 44 '@atcute/uint8array@1.0.6': 45 resolution: {integrity: sha512-ucfRBQc7BFT8n9eCyGOzDHEMKF/nZwhS2pPao4Xtab1ML3HdFYcX2DM1tadCzas85QTGxHe5urnUAAcNKGRi9A==} 46 47 '@atcute/util-text@0.0.1': 48 resolution: {integrity: sha512-t1KZqvn0AYy+h2KcJyHnKF9aEqfRfMUmyY8j1ELtAEIgqN9CxINAjxnoRCJIFUlvWzb+oY3uElQL/Vyk3yss0g==} 49 50 '@badrap/valita@0.4.6': 51 resolution: {integrity: sha512-4kdqcjyxo/8RQ8ayjms47HCWZIF5981oE5nIenbfThKDxWXtEHKipAOWlflpPJzZx9y/JWYQkp18Awr7VuepFg==} 52 engines: {node: '>= 18'} 53 54 '@standard-schema/spec@1.1.0': 55 resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} 56 57 '@types/node@22.19.7': 58 resolution: {integrity: sha512-MciR4AKGHWl7xwxkBa6xUGxQJ4VBOmPTF7sL+iGzuahOFaO0jHCsuEfS80pan1ef4gWId1oWOweIhrDEYLuaOw==} 59 60 dotenv@17.2.3: 61 resolution: {integrity: sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==} 62 engines: {node: '>=12'} 63 64 esm-env@1.2.2: 65 resolution: {integrity: sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==} 66 67 node-gyp-build@4.8.4: 68 resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==} 69 hasBin: true 70 71 undici-types@6.21.0: 72 resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} 73 74 unicode-segmenter@0.14.5: 75 resolution: {integrity: sha512-jHGmj2LUuqDcX3hqY12Ql+uhUTn8huuxNZGq7GvtF6bSybzH3aFgedYu/KTzQStEgt1Ra2F3HxadNXsNjb3m3g==} 76 77snapshots: 78 79 '@atcute/atproto@3.1.10': 80 dependencies: 81 '@atcute/lexicons': 1.2.6 82 83 '@atcute/client@4.2.1': 84 dependencies: 85 '@atcute/identity': 1.1.3 86 '@atcute/lexicons': 1.2.6 87 88 '@atcute/identity@1.1.3': 89 dependencies: 90 '@atcute/lexicons': 1.2.6 91 '@badrap/valita': 0.4.6 92 93 '@atcute/lexicons@1.2.6': 94 dependencies: 95 '@atcute/uint8array': 1.0.6 96 '@atcute/util-text': 0.0.1 97 '@standard-schema/spec': 1.1.0 98 esm-env: 1.2.2 99 100 '@atcute/tid@1.1.1': 101 dependencies: 102 '@atcute/time-ms': 1.0.0 103 104 '@atcute/time-ms@1.0.0': 105 dependencies: 106 '@types/node': 22.19.7 107 node-gyp-build: 4.8.4 108 109 '@atcute/uint8array@1.0.6': {} 110 111 '@atcute/util-text@0.0.1': 112 dependencies: 113 unicode-segmenter: 0.14.5 114 115 '@badrap/valita@0.4.6': {} 116 117 '@standard-schema/spec@1.1.0': {} 118 119 '@types/node@22.19.7': 120 dependencies: 121 undici-types: 6.21.0 122 123 dotenv@17.2.3: {} 124 125 esm-env@1.2.2: {} 126 127 node-gyp-build@4.8.4: {} 128 129 undici-types@6.21.0: {} 130 131 unicode-segmenter@0.14.5: {}